lundi 26 janvier 2015

video-js iPhone ended / fullscreenchange events not firing?

I am using video-js library, but I cannot get either the fullscreenchange or ended events to fire on iPhone as it uses the native player. Are there any workarounds for this?



main_video_player.on('ended', function () {
window.location.hash = '#share';
});

main_video_player.on('fullscreenchange', function () {
window.location.hash = '#share';
});



Aucun commentaire:

Enregistrer un commentaire