Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

jwplayer pre roll ads not working

5 replies [Last post]
Reply

I am working to run a pre rol add for 30-60seconds before playing video, can any body help where to keep that part in the below code,
currently i use 'itas' but it is not working. can any body help on that. thanks in advance..

jwplayer("container").setup({
flashplayer: "jwplayer/player.swf",
autostart:false,
height: 312,
width: 552,
skin:'skins/bekle.zip',
image:thumb,
stretching: 'fill',
file: file,
title: 'Welcome to LongTail Video',
//plugins: 'fbit-1,tweetit-1,gapro-2,sharing-3',
plugins: {'fbit-1':{
link: shareLink+"?vid="+videoUrl
},'tweetit-1':{},'gapro-2':{},
'sharing-3':{
code: embedCode,
link: shareLink+"?vid="+videoUrl
},
'ltas': {
'cc': 'exjxnrnwkthlfca'
}

},
events:{
onReady: function() {
loadVideoDescription(videoUrl);
}
}
});

Reply

Can you provide a link?

Reply

The website link is : http://videoinmybackyard.com/

As i mentioned above we need to configure Pre roll ads ...

Reply

Your player is loading and then refreshing constantly in Firefox 10. Every time the player loads, it Flashes white, and then it loads again, and never stops doing this. Please put up a test page on a blank html page, thanks.

Reply

Hi currently i am using this code add is comming default, but how can i add my own ads, currently in this code url is o give
"apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php",
where to change to give my own ads path.

<config>
<ova.title>
Example 3 - A pre-roll and show stream with a start time but no duration, and an overlay ad
</ova.title>
<ova.json>
{
// "shows": {
// "streams": [
// {
// "file":"http://streaming.openvideoads.org:81/shows/the-black-hole.mp4",
// "startTime":"00:00:15"
// }
// ]
// },

"overlays": {
"regions": [
{
"id": "bottom",
"verticalAlign": "bottom",
"horizontalAlign": "center",
"backgroundColor": "#000000",
"padding": "-10 -10 -10 -10",
"width": 450,
"height": 50
}
]
},

"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php",
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
},
{
"zone": "33",
"position": "bottom",
"width": 450,
"height": 50,
"startTime": "00:00:05",
"duration": "15"
}
],
},

"debug": {
"debugger": "firebug",
"levels": "fatal, config, vast_template"
}
}
</ova.json>
</config>
----------------------------------------------
player set is like

jwplayer("container").setup({
flashplayer: "jwplayer/player.swf",
autostart:false,
height: 312,
width: 552,
skin:'skins/bekle.zip',
image:thumb,
stretching: 'fill',
file: file,
title: 'Welcome to LongTail Video',
//plugins: 'fbit-1,tweetit-1,gapro-2,sharing-3',
plugins: {'fbit-1':{
link: shareLink+"?vid=30002"
},'tweetit-1':{},'gapro-2':{},'ova':{},
'sharing-3':{
code: embedCode,
link: shareLink+"?vid=30002",
thumb:thumb
}
},
"debug": {
"debugger": "firebug",
"levels": "fatal, config, vast_template"
},
events: {
onReady:function() {
loadVideoDescription(null);
if (document.URL.toLowerCase().indexOf("vid=") >= 0){
var mySplitResult = document.URL.split("vid=");
if (mySplitResult.length > 0 && mySplitResult[1].indexOf("#tab") >= 0){
mySplitResult = mySplitResult[1].split("#tab");
//showVidImgOnMouse(mySplitResult[0]);
videoUrl = mySplitResult[0];
}else{
//showVidImgOnMouse(mySplitResult[1]);
videoUrl = mySplitResult[1];
}
//thumb = document.getElementById(videoUrl).src;
//file = document.getElementById(videoUrl).alt;
getVideoDataToShareUrl('videoContentId', videoUrl);
//showVidImgOnMouse(videoUrl);

}
}
},
'config': "jwplayer/ova01.xml"
});
});

Reply

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options