MailOnline / videojs-vast-vpaid

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

Vast Error: Timeout while waiting for the video to start playing #257

Closed herbyme closed 7 years ago

herbyme commented 7 years ago

Getting the following error (error code is 402) even if the adCancelTimeout is set to 10000. We do get back proper vast xml as shown in the following link (but it appears to fail parsing the XML) : https://dl.dropboxusercontent.com/u/6435848/vast.xml

Our settings are the following with the adTagUrl being our Tremor Video SSP provided tag:

    var vastPlugin = player.vastClient({
        adTagUrl: adTagUrl,
        adsEnabled: true,
        playAdAlways: true,
        adCancelTimeout: 10000,
        preferredTech: 'html5',
      });

It seems to only happen in Mac OS X Sierra 10.12.1 Desktop Chrome 55.0.2883.75 (64-bit). However, it works in Safari 10.0.1 (12602.2.14.0.7).

The version of video.js we're using is (latest stable release): 5.12.6 The version of videojs-vast-vpaid is (latest release) for videojs_5.vast.vpaid.min.js: 2.0.2

herbyme commented 7 years ago

Appears that the issue was to do with the actual response time from Tremor Video SSP. I've use the adTagXML option to parse the actual xml above and it seems to work as intended.