如何使用OVA插件设置JW播放器,以便可以暂停VPAID广告

时间:2012-04-24 07:20:25

标签: jwplayer

我正在尝试使用OVA插件设置JW Player,以便可以使用控制栏上的“暂停”按钮暂停VPAID广告。我可以对其进行设置,以便可以暂停从VAST文档加载的FLV视频广告,但我无法让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"
            }
        }
        ]
    }
}

0 个答案:

没有答案