Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
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?×tamp__";
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
Are you using the kaltura platform or trying to build a stand alone vast integration?
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?×tamp__";
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
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.
Hi,
Can someone please answer by above questions.
Thanks
Siddhi
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...
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