我正在尝试使用OVA插件设置JW Player,以便可以使用控制栏上的“暂停”按钮暂停VPAID广告。我可以对其进行设置,以便可以暂停从VAST文档加载的FLV视频广告,但我无法让VPAID广告暂停。
hideOnLinearPlayback: false
在广告期间显示播放控件。enablePause: true
似乎无法在控件上启用暂停。播放实际内容视频时,它可以正常工作。pauseOnClickThrough: true
选项不会在点击时暂停VPAID广告。任何有关如何使其发挥作用的建议将不胜感激。谢谢!
以下是我的OVA配置:
{
"shows": {
"streams": [
{
"file": "http://content.bitsontherun.com/videos/wDqjiZXZ-m0JsjUy0.mp4",
"duration": "00:00:15"
}
]
},
"debug": {
"debugger": "firebug",
"levels": "fatal, config, vast_template"
},
"player": {
"modes": {
"linear": {
"controls": {
"visible": true,
"enablePause": false,
"pauseOnClickThrough": true
}
}
}
},
"ads": {
"pauseOnClickThrough": true,
"enablePause": "true",
"displayCompanions": true,
"companions": [
{
"id": "companion-300x250",
"width": "300",
"height": "250"
}
],
"vpaid": {
"enablePause": "true",
"pauseOnClickThrough": true,
"controls": {
"pauseOnClickThrough": "true",
"enablePause": "true",
"hideOnLinearPlayback": false
}
},
"schedule": [
{
"position": "pre-roll",
"server": {
"type": "direct",
"tag": "http://demo.scanscout.com/product/vastExamples/vast2VPAIDLinear.xml"
}
}
]
}
}