Hi Shawn,
VIDEOJS: ima3-started
loaded.js:3 'webkitAudioContext' is deprecated. Please use 'AudioContext' instead. <-------- THAT MIGHT BE FROM OUR AMAZON AWS SERVER??
index.min.js:2 VIDEOJS: ima3-ad-error AdError 1009: The VAST response document is empty. Object {type: "ima3-ad-error", emitter: $l, originalEvent: Md, target: document, relatedTarget: undefined…}
videojs.ima3.min.js:3 Uncaught TypeError: Cannot read property 'getRemainingTime' of null
My code executes in the following order:
async videojs script --> once that is finished then async IM3 1.14.0 script --> once that's finished then execute the initialization code for videojs with the IMA3 plugin like:
featuredVideoPlayer = videojs(featuredVideoPlayerName);
featuredVideoPlayer.ima3({
"serverUrl": "MY_DFP_AD_CALL_THAT_RETURNS_A_VALID_VAST_RESPONSE",
"adTechOrder": ["html5", "flash"],
"debug": false
});
featuredVideoPlayer.muted(true); // Featured Video Player is muted by default
There's more code to it, but I think the error must be coming from here somewhere? It happens intermittently but often enough that it is an issue I need to address as the preroll either doesn't play or plays for a short moment then quits. There is in fact a valid VAST response as well. I checked.
Do you know why this is happening?
Thanks!
Andrew