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

VAST 2 with VPAID 2 not loading


Hi,
I have developed an interactive VPAID2 JS code. This VPAID Javascript file path described withinn <mediaFiles><mediaFile> tag in vast XML. Required MP4 video information I added in <AdParameters> tag. When I trying this XML tag in JWPlayer Ad Tester, It is loading and working as expected. But when I integrate JWPlayer with VAST in HTML file, VAST XML is not loading. I tried in my localhost as well as in my domain but no luck. Even I tried JWPlayer sample site VPAID sample xml file(//s3.amazonaws.com/demo.jwplayer.com/static-tag/preroll.xml) but not loading in my end. I believe you can help me. Thanks in advance. Informations are below:-

vast xml url : http://adcrosys.com/demo/vpaid123Ad/vpaid123Ad.xml
HTML file : - http://adcrosys.com/demo/vpaid123Ad/vpaidDemo.html
HTML content

<html>
<head>
<!-- <script src="https://content.jwplatform.com/libraries/hXIY2d6z.js"></script> -->
<script src="http://adcrosys.com/demo/vpaid123Ad/js/jwplayer.js"></script>
</head>
<body>
<div id="my-video"></div>
<script type="text/javascript">
var playerInstance = jwplayer("my-video");
playerInstance.setup({
file: '//content.jwplatform.com/videos/bkaovAYt-640.mp4',
image: '//support-static.jwplayer.com/images/VPAID2.png',
width: "580",
height: "370",
primary: "html5",
advertising: {
client: 'vast',
tag: 'http://s3.amazonaws.com/demo.jwplayer.com/static-tag/preroll.xml'
}
});

/*jwplayer("my-video").setup({
file: "http://content.jwplatform.com/videos/Wf8BfcSt-kNspJqnJ.mp4",
image: "http://content.jwplatform.com/thumbs/Wf8BfcSt-640.jpg",
width: "580",
height: "370",
autostart:"true",
primary: "html5",
advertising: {
client: "vast",
"tag":"http://adcrosys.com/demo/vpaid123Ad/vpaid123Ad.xml"
// schedule: {"myAds":{"offset":"pre","tag":"http://adcrosys.com/demo/vpaid123Ad/vpaid123Ad.xml"}}
}
});*/
</script>
</body>
</html>

1 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

We don’t write VPAID 2 ads so we wouldn’t be able to support you in your endeavor.

This question has received the maximum number of answers.