2
有誰知道如何在播放列表的每個剪輯末尾添加延遲。 我是想這樣的事情:Flowplayer autoplaying播放列表與視頻之間的延遲
flowplayer("a.flowplayer", {src: "/flowplayer2/dist/swf/flowplayer-3.2.7.swf",wmode: 'transparent'}, {
clip: {
onFinish: function(clip) {
this.pause();
var obj = this;
setTimeout(function(){
obj.play()
},5*1000);
},
},
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: '/flowplayer2/dist/swf/d/ova.swf',
"autoPlay" : true,
"autoBuffering": true,
"shows": {
"streams": [
{ "file":"one.flv"},
{ "file":"two.flv"},
{ "file":"three.flv"}
]
},
"ads": {
"pauseOnClickThrough": true,
"displayCompanions": true,
"restoreCompanions": false,
"companions": [{
"id":"lcBannerDiv",
"width":"300",
"height":"250",
"resourceType": "iframe"
}],
"notice": { show: false },
"schedule": [{
"position": "pre-roll",
"server": {
"type": "direct",
"tag": VAST_URL
}
}]
}
}
}
});
,但它不工作,它只是在玩第一視頻後停止。
謝謝 梅德