Quantcast
Channel: Kaltura - Latest posts
Viewing all articles
Browse latest Browse all 7410

Custom url for video

$
0
0

Hey thanks!

I have been trying to work the example you suggested. However, no the video just refuses to play on my webpage and there are no errors in the console as well. Here's my code:

<html>
<head>
<script src="http://cdnapisec.kaltura.com/p/2027961/sp/202796100/embedIframeJs/uiconf_id/32020091/partner_id/2027961"></script>
<!--<script src="/kWidget/kWidget.js"></script>-->
<!--<script src="mwEmbedLoader.php"></script>-->
<!--<script src="load.php"></script>-->
<div id="kaltura_player_1446547025" style="width:430px;height:330px;" itemprop="video" itemscope itemtype="http://schema.org/VideoObject" >
<!-- Search engine metadata, based on schema.org/VideoObject -->
<span itemprop="description" content="test folgers coffe"></span>
<span itemprop="name" content="FolgersCoffee_mpeg"></span>
<span itemprop="duration" content="60"></span>
<span itemprop="thumbnailUrl" content="http://cfvod.kaltura.com/p/2027961/sp/202796100/thumbnail/entry_id/1_3gmgqn2e/version/100007/acv/171"></span>
<span itemprop="width" content="430"></span>
<span itemprop="height" content="330"></span>
</div>
<script>
kWidget.embed({
    targetId: "kaltura_player_1446547025",
    wid: "_2027961",
    uiconf_id: "32020091",
    cache_st: "1446547025",
    entry_id: "1_3gmgqn2e",
    flashvars: {
        "vast": {
            "prerollUrl" : "http://projects.kaltura.com/mdale/hotelVastAd.xml?myRefurl=http%3A//myref.com/%3Ffoo%3Dbar%26cat%3Ddog{utility.nativeAdId}",
            "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,
        "externalInterfaceDisabled" : false
    }
})
</script>
<body>
<script>
kWidget.addReadyCallback(function(playerId){
        kdp.sendNotification( "changeMedia", { 'entryId' : '1_fra2wjpe'});
});
</script>
</body>
</html>

What could be the issue?


Viewing all articles
Browse latest Browse all 7410

Trending Articles