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

Vast 3.0 linear media swf not working


Hello, we are trying to implement a swf linear ad campaign into your player but for some reason, the vast tags seems to be causing an error.

According to multiple article on your end it is mentioned that you guys are vast3.0 compatible however I have not be able to find any working example or specification sheets about it.

https://www.jwplayer.com/blog/vast-3-0-and-vmap-1-0/

This vast campaign does work through various tester (for example google IMA sdk inspector) and the vast specification as been implemented according to IAB Vast 3.0 documentation.

Here is the latest version of our vast sheet.

<VAST xsi:noNamespaceSchemaLocation="vast.xsd" version="3.0">
<Ad id="preroll-1">
<InLine>
<AdSystem>3.0</AdSystem>
<AdTitle>5773100</AdTitle>
<Description>HomeDepot Ad</Description>
<Creatives><Creative>
<Linear><Duration>00:00:30</Duration>
<MediaFiles>
<MediaFile id="1" type="application/x-shockwave-flash" width="640" height="480">https://3ff63f8b.ngrok.io/src/SalvationArmy.swf</MediaFile>
</MediaFiles>
</Linear>
</Creative>
</Creatives>
</InLine>
</Ad>
</VAST>

Any help or advice would be appreciated.

Thank you very much.

Mark

6 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi Mark,

My name is Alex and I am one of the Support Engineers at JW Player. I will be more than happy to assist you with your questions.

When I test your VAST XML in Google’s VAST Inspector, I receive the following response:

(5:15:55 PM) Ads requested
(5:15:56 PM) adError Ad error (code 0): Custom content loaded, but there's no event handler for it.
(5:15:56 PM) Error: Custom content loaded, but there's no event handler for it.

I would ask for you to create a XML file for your ad and try that in Google’s tester. If you are able to get it to work there and not our Ad Tester, please use the “Generate Sharable URL” option on Google’s Ad Tester and send me the link so I may take a look.

Also, one thing I noticed is that the <InLine> element in your VAST is missing an <Impression> element, which is required as per the VAST 3.0 IAB Spec. However, when I added one myself, it had no affect on its ability to be played.

Thank you.

m...

User  
0 rated :

Hey Alex, the first error is most likely to happen, I was using a proxy to point to my local machine (ngrok you should look it up).

For the second point I will look it up right away.

I get no problem in google tester. That is what we have been using to test our campaigns however we have been getting error response that seemed to be coming from a jwplayer and realised that in fact it doesn`t work your testers.

I will add that impression tag and see where it goes.

Alex

JW Player Support Agent  
0 rated :

Hi there,

Is there any way you can send me a link with your tag in Google’s Ad Tester using the “Generate Sharable Link” button?

Thank you.

m...

User  
0 rated :

Hello Alex,

here is the link :

https://developers.google.com/interactive-media-ads/docs/sdks/html5/vastinspector?tag=https%253A%252F%252Fvpaid.clickthespot.com%252Fcampaigns%252Fsalvation-army-2%252FVast.xml


I also have the link from one of my server if you want to check from your tester

https://vpaid.clickthespot.com/campaigns/salvation-army-2/Vast.xml

m...

User  
0 rated :

Hey Alex, from that tester : http://demo.jwplayer.com/ad-tester/; I get an "There was an ad error". The assets do get loaded however. Therefore I can see my video and images being loaded in my console and in some case I can hear the video sound in the background.

Would it be possible that the resize event is not firing in your player?

Mark

Alex

JW Player Support Agent  
0 rated :

Hi Mark,

Since your ad tag URL and the URL of the SWF contained inside were https, I tried embedding the ad in our player on a HTTPS page and it appears to be working: https://s3.amazonaws.com/qa.jwplayer.com/~abussey/demos/jun2016/83610-ad-2.html

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.