Flowplayer 拒绝识别循环播放视频的代码。
它也不允许我删除暂停暂停功能或静音视频的音量。
<div style="width:100%;height:100%;margin:0;"
id="player"></div>
<!-- this script block will install Flowplayer inside previous DIV tag -->
<script>
flowplayer(
"player",
"http://releases.flowplayer.org/swf/flowplayer-3.2.16.swf", {
clip: {
url: "http://pseudo01.hddn.com/vod/demo.flowplayervod/flowplayer-700.flv",
autoPlay: true,
autoBuffering: true,
onBegin: function () {
this.setVolume(0);
}
},
play: {
opacity: 0.0,
label: null,
// label text; by default there is no text
replayLabel: null,
// label text at end of video clip
},
// disable default controls
plugins: {controls: null},
// prevent pausing
onBeforePause: function() {
return false;
},
// make the video loop
onBeforeFinish: function() {
return false;
}
});
</script>