I am playing video in iOS using html5 video player. I am using following code for that :
var player = $('#videoPlayer');
player.attr('src',video.file_url);
player.play();
It is working fine and it is playing on native video player . But the problem comes when I tried to play the videos sequentially . I want the next and previous button event from native iOS player . Right now I can detect the next button event by attaching the onend event listener to the video . But the problem is with the Prev button click I have tried many events but unfortunately could not get that prev button click . Is there any way to get that button event ?
Can not do as of (Oct.14) the player is native iOS and no events are passed to webview because this button is for navigating the the devices tracklist.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With