From 012f79be31793772999a6fbaae04ac9f92249d68 Mon Sep 17 00:00:00 2001 From: wseymour15 Date: Wed, 28 Feb 2024 14:30:32 -0600 Subject: [PATCH] chore: additional vjs ad errors --- src/js/consts/errors.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/js/consts/errors.js b/src/js/consts/errors.js index ff5989fe4e..7e7a6113c1 100644 --- a/src/js/consts/errors.js +++ b/src/js/consts/errors.js @@ -9,5 +9,12 @@ export default { SegmentAppendError: 'segment-append-error', VttLoadError: 'vtt-load-error', VttCueParsingError: 'vtt-cue-parsing-error', - EMEKeySessionCreationError: 'eme-key-session-creation-error' + EMEKeySessionCreationError: 'eme-key-session-creation-error', + // Errors used in contrib-ads: + AdsBeforePrerollError: 'ads-before-preroll-error', + AdsPrerollError: 'ads-preroll-error', + AdsMidrollError: 'ads-midroll-error', + AdsPostrollError: 'ads-postroll-error', + AdsMacroReplacementFailed: 'ads-marco-replacement-failed', + AdsResumeContentFailed: 'ads-resume-content-failed' };