-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
chore: additional vjs ad errors #8623
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8623 +/- ##
=======================================
Coverage 82.71% 82.71%
=======================================
Files 113 113
Lines 7636 7636
Branches 1835 1835
=======================================
Hits 6316 6316
Misses 1320 1320 ☔ View full report in Codecov by Sentry. |
AdsPrerollError: 'ads-preroll-error', | ||
AdsMidrollError: 'ads-midroll-error', | ||
AdsPostrollError: 'ads-postroll-error', | ||
AdsMacroReplacementFailed: 'ads-marco-replacement-failed', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wseymour15 looks like there is a little typo ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good eye, PR for that update: #8628
It is not an urgent fix, so no need to rush a release for this one.
Interesting to see this being added, since it's a plugin/thirdparty library afaik (and shouldn't be "bloating" a core video.js). |
Yeah, we agree that it's not the ideal place for these constants, but was added in the interest of the simplicity of having a single mapping of error codes in Video.js and it had a fairly minimal impact on bundle size. I think we will plan to build in a more configurable mechanism in the future. Ultimately, these would belong in a library like videojs-contrib-ads. |
Thanks for the feedback.
is always a red flag isn't it (when coming from a marketing department i'd imagine).
Nice! It seems to be a re-occuring theme though: #8634 |
Description
Add additional errors to the video.js error interface regarding ads.
Requirements Checklist