kaltura Html5 for vast tags

7 replies [Last post]
Joined: 08/17/2012
Points: 15

Hi

I am new to kaltura.

Please help in understanding what wrong i am doing in the code shown below:

var vastUrl = "http://ad.doubleclick.net/pfadx/tvgjambo.video/disney;s1=disney;s2=wabctunein;sz=320x240;ord=%7Brandom%7D?&timestamp__";
mw.setConfig( 'KalturaSupport.LeadWithHTML5', true ); // this flag doesn't seem to force html5 but one problem at a time for now.
mw.setConfig( 'EmbedPlayer.UseFlashOnAndroid', false );
mw.load("AdSupport",function(){
mw.AdLoader.load( vastUrl, function( adConf ){
// Now you can call addAdToPlayerTimeline with the adConf
mw.addAdToPlayerTimeline( embedPlayer, ['preroll', 'bumper','overlay', 'postroll'], adConf );
});
});

window['doPlayCallback'] = function( playerId ){
console.log( 'kwidget doPlayCallback ' + playerId );
};
kWidget.embed({
'targetId': 'myVideoTarget', // I think this is just a ref to the div id= line above but not sure.
'wid': '_941862', // my data
'uiconf_id' : '7699521', // my data, seems to be my flash fallback player defined in KMC
'entry_id' : '0_uka1msg4', // Drupal field insert for the video id
'flashvars':{
'externalInterfaceDisabled' : false,
'autoPlay' : true
},
'readyCallback': function( playerId ){
console.log( "kWidget player ready: " + playerId );
var kdp = document.getElementById( playerId );
kdp.addJsListener( 'doPlay', 'doPlayCallback');
}
});

smehow its not working for me.
Thanks in advance.

Siddhi

Joined: 08/17/2012
Points: 15

Hi,

Please find the link :http://cz.iozo.com/html5test.html

Somehow the vast tag : http://ad.doubleclick.net/pfadx/tvgjambo.video/disney;s1=disney;s2=wabct... is not getting detected and also geting error in load is not defined.

Please let me know what i need to do.

Thanks in advance.

siddhi

Joined: 10/25/2014
Points: 71

Hi .. if your using the kaltura platform you integration can be much simpler. * you don't need to issue the mw.load calls for example.

See a kaltura sample vast page for how the plugin is configured:855online.com agen bola sbobet ibcbet casino 338a tangkas togel online indonesia terpercaya
agen texas dan domino online indonesia terpercaya
Jasa SEO [url=http://www.ionliga.com]

Joined: 02/22/2009
Points: 76

Are you using the kaltura platform or trying to build a stand alone vast integration?

Joined: 08/17/2012
Points: 15

hi,

I want to use kaltura platform ,but confused how to go about it.

If u see this link : http://cz.iozo.com/html5test.html

In that i am using ""
and "
var vastUrl = "http://ad.doubleclick.net/pfadx/tvgjambo.video/disney;s1=disney;s2=wabctunein;sz=320x240;ord=%7Brandom%7D?&timestamp__";
mw.setConfig( 'KalturaSupport.LeadWithHTML5', true ); // this flag doesn't seem to force html5 but one problem at a time for now.
mw.setConfig( 'EmbedPlayer.UseFlashOnAndroid', false );
mw.load("AdSupport",function(){
mw.AdLoader.load( vastUrl, function( adConf ){
// Now you can call addAdToPlayerTimeline with the adConf
mw.addAdToPlayerTimeline( embedPlayer, ['preroll', 'bumper','overlay', 'postroll'], adConf );
});
});
"

Butsmehow i cannot get the doubleclick vast tag detected in it : http://ad.doubleclick.net/pfadx/tvgjambo.video/disney;s1=disney;s2=wabct...

Please help me.

Thanks in advance.

Siddhi

Joined: 08/17/2012
Points: 15

Hi,

Please consider the following link : http://cz.iozo.com/kaltura-html5player-widget/html5test.html

In chrome i get the following errors:
Failed to load resource: the server responded with a status of 404 (Not Found) http://cz.iozo.com/kaltura-html5player-widget/window.jQuery?urid=1.5&_=1...
XMLHttpRequest cannot load http://adserver.bbtvnetwork.com/www/delivery/fc.php?script=bannerTypeHtm.... Origin http://cz.iozo.com is not allowed by Access-Control-Allow-Origin.

I have used double click vast tag : http://ad.doubleclick.net/pfadx/tvgjambo.video/disney;s1=disney;s2=wabct...

What i need is i want to the html5 player to detect vast ads on whatever VAST TAG given to it.

Please let me know what mistake i have done in my code and how to correct it or if some other way to do it using Kaltura.

Thanks
Siddhi.

Joined: 08/17/2012
Points: 15

Hi,

Can someone please answer by above questions.

Thanks

Siddhi

Joined: 02/22/2009
Points: 76

Hi .. if your using the kaltura platform you integration can be much simpler. * you don't need to issue the mw.load calls for example.

See a kaltura sample vast page for how the plugin is configured:
http://html5video.org/kaltura-player/modules/KalturaSupport/tests/AdFlas...