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

Get latest player options when handling encrypted and msneedkey events #207

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

mdwyer-od
Copy link
Contributor

I noticed an error as we tried to update to v5.1.0. We were unable to get media keys because the player options had changed between being set at the start of onPlayerReady and when they were used in handling the encrypted event.

Copy link
Contributor

@adrums86 adrums86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thanks for this!

@adrums86 adrums86 merged commit 92aae13 into videojs:main Feb 28, 2024
2 checks passed
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.

2 participants