Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: eme error interface #208

Merged
merged 27 commits into from
Mar 22, 2024
Merged

feat: eme error interface #208

merged 27 commits into from
Mar 22, 2024

Conversation

adrums86
Copy link
Contributor

@adrums86 adrums86 commented Feb 27, 2024

This adds new error constants from video.js for a more cohesive errors interface, this also adds some new events for granular insight into the EME workflow.

src/plugin.js Outdated Show resolved Hide resolved
@dzianis-dashkevich
Copy link
Contributor

Do we plan to include other errors?

@adrums86
Copy link
Contributor Author

adrums86 commented Mar 8, 2024

I added an error constant for each keysystem event and added videojs as a peerDependency.

@adrums86
Copy link
Contributor Author

adrums86 commented Mar 8, 2024

Can't flip this back to a draft PR for whatever reason. This shouldn't be merged until the corresponding video.js chore is merged and released first: videojs/video.js#8634

src/eme.js Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
src/plugin.js Outdated Show resolved Hide resolved
src/plugin.js Outdated Show resolved Hide resolved
src/plugin.js Show resolved Hide resolved
src/plugin.js Outdated Show resolved Hide resolved
src/plugin.js Outdated Show resolved Hide resolved
@adrums86 adrums86 merged commit 5820da7 into main Mar 22, 2024
4 checks passed
@adrums86 adrums86 deleted the feat-errors branch March 22, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants