【问题标题】:FlowPlayer OVA Plugin - use XML directlyFlowPlayer OVA 插件 - 直接使用 XML
【发布时间】:2013-11-13 10:58:45
【问题描述】:

所以,我通常将 VAST XML 的 URL 传递到 plugins.ova.ads.schedule[0].server.tag
有没有办法直接传递 VAST XML 字符串而不是它的 url?

ova: {
    url: 'flowplayer/ova.swf',
    autoPlay: true,
    "canFireEventAPICalls": true,
    debug: {
        levels: 'all, fatal, config, vast_template, vpaid, http_calls'
    },
    ads: {
        companions: {
            regions: [
                { id: "companionad300x60", "width": "300", "height": "60", "resourceType": "static" },
                { id: "companionad300x60", "width": "300", "height": "60", "resourceType": "iframe" },
                { id: "companionad728x90", "width": "728", "height": "90", "index": 0 },
                { id: "companionad728x90", "width": "728", "height": "90", "index": 1 },
                { id: "companionad300x250", "width": "300", "height": "250", "resourceType": "static" },
                { id: "companion-300x250-iframe", "width": "300", "height": "250", "index": 1 }
            ]
        },
        schedule: [
            {
                position: "pre-roll",
                server: {
                    type: "direct",
                    tag: undefined
                }
            }
        ]
    }
}

谢谢

【问题讨论】:

    标签: javascript flowplayer vast ova


    【解决方案1】:

    事实证明,这就像将类型更改为“注入”一样简单。

    schedule: [{
       position: "pre-roll",
       server: {
          type: "inject",
             tag: xmlString
       }
    }]
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-31
      • 2012-09-11
      相关资源
      最近更新 更多