Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Non-linear overlay ads


i cant get them working, please tell me what is wrong am i doing-

My Xml File...
<Creative sequence="1">
<NonLinearAds>
<NonLinear height="60" width="468" maintainAspectRatio="true" scalable="true" minSuggestedDuration="00:00:30">
<StaticResource creativeType="image/jpeg">
http://tvyaar.com/300.php
</StaticResource>
<NonLinearClickThrough>http://www.jwplayer.com/</NonLinearClickThrough>
</NonLinear>
</NonLinearAds>
</Creative>


My Embed Code...
<div id="container">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("container");
playerInstance.setup({
file: "http://cdn.phoenix.intergi.com/12891/videos/3774998/video-sd.mp4",
width: 640,
height: 360,
title: "Click Play",
advertising: {
client: "vast",
schedule: {
offset: 5, //shows 1 second into video
break1: {
tag: "http://tvyaar.com/300.xml",
type: "nonlinear"
}
}
}

});
</script>

2 Community Answers

arjun3939

User  
-1 rated :

no banner is showing, i am tired of trying, please help

Todd

JW Player Support Agent  
0 rated :

Looks like you’re missing part of the VAST tag. And if I use a direct image URL, I see the nonlinear ad appear. As soon as I try your PHP URL, the ad is not displayed. Here’s the VAST XML that is working correctly:

<VAST version="2.0"> <Ad id="static"> <InLine> <Creatives> <Creative sequence="1"> <NonLinearAds> <NonLinear height="50" width="300" maintainAspectRatio="true" scalable="true" minSuggestedDuration="00:01:00"> <StaticResource creativeType="image/jpeg">http://demo.jwplayer.com/static-tag/jwplayer-overlay.jpg</StaticResource> <NonLinearClickThrough>http://www.jwplayer.com/</NonLinearClickThrough> </NonLinear> </NonLinearAds> </Creative> </Creatives> </InLine> </Ad> </VAST>

And here is the jwplayer().setup() that is working for me. Notice that my schedule: {} block is a little different than yours:

<script type="application/javascript"> jwplayer('player0').setup({ file: 'bunny.mp4', image: 'bunny.jpg', advertising: { client: 'vast', schedule: { test: { tag: 'arjun.xml', offset: '2', type: 'nonlinear' } } } }); </script>

This question has received the maximum number of answers.