MailOnline / videojs-vast-vpaid

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

ad starts playing but then -> Vast Error: Timeout while waiting for the video to start playing #311

Open yanfaingold opened 6 years ago

yanfaingold commented 6 years ago

for a certain ad tag you can see the ad is playing but the plugin dont recognize it because the vast.adStart event not fired and the timeout event called later , also when i take the adTagXML and use it instead of adTag it works fine. (tried different versions but still the same)

yanfaingold commented 6 years ago

from inspection found out that the invoked function adUnit.startAd which inside the function VPAIDIntegrator.prototype._startAd passes a callback function which never executes from a specific provider (so as i get it because the fallback not returned the waterfall next function which should be executed doesnt and so the plugin fails on adCancelTimeout more specifically i guess that the function does start the ad but do not returns a fallback or fails hence the problem )