From 7ed47de29d11feb5cf4f00f5e3126ccf25f4fb4b Mon Sep 17 00:00:00 2001 From: Walter Seymour Date: Mon, 4 Mar 2024 13:23:12 -0600 Subject: [PATCH] chore: additional vjs ad errors (#8623) --- 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' };