MailOnline / videojs-vast-vpaid

video.js vast plugin
MIT License
296 stars 232 forks source link

Unable to get it to work #153

Open sirakoff opened 8 years ago

sirakoff commented 8 years ago

VIDEOJS: WARN: player.hls is deprecated. Use player.tech.hls instead. AD ERROR: VAST Error: timeout while waiting for the video to start playing i {message: "VAST Error: timeout while waiting for the video to start playing", code: 402} undefined

The ad media file downloads but it doesn't play, skips to actual video.

Works in firefox but fires player ended event when ad finishes.

Fetz commented 8 years ago

Can you provide a link for your video?

NxwJfm commented 8 years ago

While I'm not the op, I'm getting the exact same issue so I guess I'll just post here the test tags for my ad partner so you can take a look :) This one is for mobile : http://ads.intergi.com/adrawdata/3.0/5205/3516931/0/6567/ADTECH;cors=yes And this one for desktop: http://ads.intergi.com/adrawdata/3.0/5205/1469249/0/2898/ADTECH;cors=yes The second one works most of the time, but sometimes fails. The first one almost always leads to the black screen followed by the error message after a few seconds. I've tried it both on my own site, and also on the demo player. I moved from jwplayer to videojs, and I had less than 50% of my usual views with videojs and the 1.1 vpaid plugin, and then to no views what so ever when I upgraded to 1.2. The issue with 1.1 was that sometimes it failed to parse the xml of the tag (seemingly fixed in 1.2 as I never got that error again), but if it managed to parse the xml I guess it would display the ad. I can provide my production tags if you want as they are certainly way more complex in terms of what they do than the test tags here. But since the mobile tag fails for me, I guess simpler would be better :)