2013-07-21 238 views

回答

0

在状态您的播放器设置,添加此脚本块,它具有所有基本事件和一些警报:

<script type='text/javascript'> 
jwplayer().onReady(function() { alert('Player is ready'); }); 
jwplayer().onPlay(function() { alert('Player is playing'); }); 
jwplayer().oPause(function() { alert('Player is paused'); }); 
jwplayer().onComplete(function() { alert('Playback is complete'); }); 
</script>