After a two-hour search on the Internet, I can’t find a solution to my problem.
I am trying to develop an application for Android and iOS using Cordoba. In this application, I am using the iframe API for Youtube. I need to know about the end of a specific video in order to call another.
But it looks like this API is not working on Android (but good on iOS). Does anyone have a solution for this?
Here is what I thought:
- Basic Youtube implementation (without API) and a custom listener that should be notified of the end of the song (I don’t know how to do this ...)
- Use the Cordova plugin for android youtube api (the one I saw had the ability to download a song without listeners).
source
share