【发布时间】:2022-12-04 19:24:58
【问题描述】:
我想让流畅的播放器在每个视频播放完毕后自动暂停
堆栈溢出如果你只是让表格成为一个就不难了
`<script src="https://cdn.fluidplayer.com/v3/current/fluidplayer.min.js"></script>
<video id="video-id"><source src="video.mp4" type="video/mp4" />
<脚本>
var myFP = fluidPlayer(
'video-id', {
"layoutControls": {
"controlBar": {
"autoHideTimeout": 3,
"animated": true,
"autoHide": true
},
"htmlOnPauseBlock": {
"html": null,
"height": null,
"width": null
},
"autoPlay": true,
“静音”:是的,
"allowTheatre": true,
"playPauseAnimation": true,
"playbackRateEnabled": true,
"allowDownload": false,
"loop": true,
"playButtonShowing": true,
"fillToContainer": true,
"posterImage": ""
},
"vastOptions": {
"adList": \[
{
"roll": "preRoll",
"vastTag": "https://www.videosprofitnetwork.com/watch.xml?key=ddbbe516ba5a32d04f608af9bb011c1a",
"adText": ""
}
\],
"adCTAText": false,
"adCTATextPosition": ""
}
});
</script></source></video>`u
【问题讨论】:
-
嗨大卫,欢迎来到 SO。堆栈溢出如果你只是让表格成为一个就不难了这是什么意思?当前行为是什么,它与预期结果有何不同?您是否查阅了 FluidPlayer 的文档并找到了解决问题的线索?
标签: javascript