预注广告不在KMC上播放

时间:2015-10-30 12:45:40

标签: kaltura preroll

我正在使用kaltura播放器播放预付费广告。我在KMC http://player.kaltura.com/docs/kvast上尝试了示例广告。这是我的代码:

kWidget.embed({
        targetId: "kaltura_player_1446547025",
        wid: "_2027961",
        uiconf_id: "32020091",
        cache_st: "1446547025",
        entry_id: "1_3gmgqn2e",
        flashvars: {
            "vast": {
                "prerollUrl" : "https://pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/6062/iab_vast_samples/skippable&ciu_szs=300x250,728x90&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url=[referrer_url]&correlator=[timestamp]",
                "numPreroll" : "1",
                "preSequence" : "1",
                "htmlCompanions" : "testCompanion:300:250;testLongCompanion:728:90;",
                "timeout" : "4",
                "storeSession" : false,
                "skipOffset" : "5",
                "unescapeAdUrls" : false
            },
            "skipBtn": {
                "skipOffset" : "5",
                "label" : "Skip Ad"
            },
            "noticeMessage": {
                "text" : "Advertisment {sequenceProxy.timeRemaining|timeFormat}"
            },
            "adsOnReplay" : true
        }
    })

2 个答案:

答案 0 :(得分:1)

我已将您的数据添加到以下示例中 - 我可以看到该广告 Same code from the question http://jsfiddle.net/itayKinnrot/gtpjh3pf/

答案 1 :(得分:0)

正如@Itay Kinnrot所说,一切正常。问题在于预卷视频 - 它没有播放:

https://redirector.gvt1.com/videoplayback/id/8bd2c53a3e15469d/itag/18/source/gfp_video_ads/requiressl/yes/ip/0.0.0.0/ipbits/0/expire/1447869905/sparams/ip,ipbits,expire,id,itag,source,requiressl/signature/700D521CA3B3D0F7AAAEB146503557132ABD1192.4A9A6774B42C29531E37E4F98905AEAB415110C4/key/ck2/file/file.mp4

如果您在Firefox中打开Itay的示例,您会看到前滚播放正常(因为在Firefox上加载了另一个视频)