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.
@wseymour15 looks like there is a little typo ?
There was a problem hiding this comment.
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