
onPlay call back can't work in the mobile
Hello,
Is the JWPlayer onPlay call back support mobile?
I need callback a function when play the video, but it's not work, it's just open video for full screen and start play, it's work very well in the desktop.
I use iPhone 5S for test, and the iOS version is 7.
The code is like this:
jwplayer(id)
.setup({
file: videoURL,
image: imageURL,
width: objWidth,
height: objHeight,
modes: settings
})
.onPlay(function() {
this.stop();
alert(id);
if ($mediaWrapper.data('flag')) {
$mediaWrapper.data('flag', false);
xxx.set_popup(this, 'Play video');
}
});