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">
<NonLinear height="60" width="468" maintainAspectRatio="true" scalable="true" minSuggestedDuration="00:00:30">
<StaticResource creativeType="image/jpeg">

My Embed Code...
<div id="container">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("container");
file: "",
width: 640,
height: 360,
title: "Click Play",
advertising: {
client: "vast",
schedule: {
offset: 5, //shows 1 second into video
break1: {
tag: "",
type: "nonlinear"


2 Community Answers


-1 rated :

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


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"></StaticResource> <NonLinearClickThrough></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.