diff --git a/src/web_accessible_resources/google-ima.js b/src/web_accessible_resources/google-ima.js index a3f612662..fc7ef98e8 100644 --- a/src/web_accessible_resources/google-ima.js +++ b/src/web_accessible_resources/google-ima.js @@ -467,8 +467,14 @@ if (!window.google || !window.google.ima || !window.google.ima.VERSION) { return `AdError ${this.errorCode}: ${this.message}`; } } - AdError.ErrorCode = {}; - AdError.Type = {}; + + AdError.ErrorCode = { + AUTOPLAY_DISALLOWED: 1205, + }; + AdError.Type = { + AD_LOAD: "adLoadError", + AD_PLAY: "adPlayError", + }; const isEngadget = () => { try {