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

VMAP Ad Scheduler


I am attempting to publish a HTML video player that has a playlist of video i uploaded. But i am not able to locate how to integrate Pre-Rolls, Midrolls, and Post Rolls.

Example I how I would love for video player to play: http://www.jwplayer.com/video-ads/

Current Code: <script type="text/javascript" src="http://content.jwplatform.com/players/9ooYdFTE-vgUfKl60.js"></script>

I would like 3 midrolls with ad breaks at 7, 14, 30 along with a post roll

I am using the JW Platform and not sure how to implement it seeking help!

14 Community Answers

info

User  
0 rated :

Test Vast Tag from SpotXchange:

http://search.spotxchange.com/vast/2.00/79391?VPAID=1&content_page_url=__page-url__&cb=__random-number__&player_width=__player-width__&player_height=__player-height__&vid_duration=__duration__

Todd

JW Player Support Agent  
0 rated :

Here’s a sample VMAP with the timing you indicated. You can see each <vmap:AdBreak> section has a time offset and an <vmap:AdTagURI> that points to the specific VAST tag.

Hope this helps,
Todd

<vmap:VMAP xmlns:vmap="http://www.iab.net/vmap-1.0" version="1.0"> <vmap:AdBreak breakType="linear" breakId="85cac7e0fbad11e3b283fbde008b4e10" timeOffset="00:07:00"> <vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1"> <vmap:AdTagURI templateType="vast3">

<![CDATA[
http://www.adotube.com/php/services/player/OMLService.php?avpid=oRYYzvQ&platform_version=vast20&ad_type=linear&groupbypass=1&HTTP_REFERER=http://www.longtailvideo.com&video_identifier=longtailvideo.com,test
]]>

</vmap:AdTagURI> </vmap:AdSource> </vmap:AdBreak> <vmap:AdBreak breakType="linear" breakId="85cac7e0fbad11e3b283fbde008b4e10" timeOffset="00:14:00"> <vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1"> <vmap:AdTagURI templateType="vast3">

<![CDATA[
http://www.adotube.com/php/services/player/OMLService.php?avpid=oRYYzvQ&platform_version=vast20&ad_type=linear&groupbypass=1&HTTP_REFERER=http://www.longtailvideo.com&video_identifier=longtailvideo.com,test
]]>

</vmap:AdTagURI> </vmap:AdSource> </vmap:AdBreak> <vmap:AdBreak breakType="linear" breakId="85cac7e0fbad11e3b283fbde008b4e10" timeOffset="00:30:00"> <vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1"> <vmap:AdTagURI templateType="vast3">

<![CDATA[
http://www.adotube.com/php/services/player/OMLService.php?avpid=oRYYzvQ&platform_version=vast20&ad_type=linear&groupbypass=1&HTTP_REFERER=http://www.longtailvideo.com&video_identifier=longtailvideo.com,test
]]>

</vmap:AdTagURI> </vmap:AdSource> </vmap:AdBreak> <vmap:AdBreak breakType="linear" breakId="85cac7e0fbad11e3b283fbde008b4e10" timeOffset="end"> <vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1"> <vmap:AdTagURI templateType="vast3">

<![CDATA[
http://www.adotube.com/php/services/player/OMLService.php?avpid=oRYYzvQ&platform_version=vast20&ad_type=linear&groupbypass=1&HTTP_REFERER=http://www.longtailvideo.com&video_identifier=longtailvideo.com,test
]]>

</vmap:AdTagURI> </vmap:AdSource> </vmap:AdBreak> </vmap:VMAP>

info

User  
0 rated :

In the video player 6 properties in the JW Platform it is asking for a http for the VMAP Ad Scheduler not sure how to integrate this to the player to post on my website.

info

User  
0 rated :

Ok should i plug in the Vast tag form SpotXchange in there to call the ads?

info

User  
0 rated :

Ok that VMAP code will go in the body of the script?

info

User  
0 rated :

Ok so in order to make the pre-roll, midroll, and post roll to work where would I place the vast tag from SpotXchange to test it out?

Todd

JW Player Support Agent  
0 rated :

Yes, put your ad tags in place of my adotube.com test tag. Save the file as an XML document on a web server. In your JW Platform advertising section, choose VMAP ad schedule and then paste the URL of your VMAP schedule.

info

User  
0 rated :

So here is the link on the server where the file is uploaded

http://www.bawn.tv/Ads.xml

But the link doesn't appear to be working on our video player

Todd

JW Player Support Agent  
0 rated :

Your VMAP syntax is correct, but I’m getting a cross domain error in my browser. Please see http://support.jwplayer.com/customer/portal/articles/1403679-crossdomain-file-loading for more details.

Kind regards,
Todd

info

User  
0 rated :

The code works but i would like 3 ad to play each ad break how should i update the code?

info

User  
0 rated :

http://www.bawn.tv/whatsthefunction

Above is the link. Let me know if you see the midrolls appear

info

User  
0 rated :

Also we don't have the preroll active on the player as well

Todd

JW Player Support Agent  
0 rated :

I am seeing CORS errors when our player tries to load the ad tag from virool.com. Here is the error I’m seeing:

XMLHttpRequest cannot load https://api.virool.com/vast/6ff2725?width=640&height=400&autoswitch=1http:/…evice[devicetype]=1&device[dnt]=0&ip_addr=REPLACE_ME&device[ua]=REPLACE_ME. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.bawn.tv’ is therefore not allowed access.

They will need to allow access for your servers to access theirs (in order to load the ad tag).

You can see our support page regarding ad pods at http://support.jwplayer.com/customer/portal/articles/1433722-vast3-ad-pods and our XML sample is available at http://demo.jwplayer.com/advertising/assets/vast3_jw_ads.xml

For more details regarding the syntax and standards of ad pods, please see http://www.iab.net/media/file/VASTv3.0.pdf starting at page 46.

Hope this helps,
Todd

guruprasad.m

User  
0 rated :

I am planning to place spotxchange ad url into my stream i received a vast tag from spotxchange :

http://search.spotxchange.com/vast/2.00/79391?VPAID=1&content_page_url=__page-url__&cb=__random-number__&player_width=__player-width__&player_height=__player-height__&vid_duration=__duration__

Please let me know how to implement this and i am using jwplayer 6.10

This question has received the maximum number of answers.