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

fix: getOptions after encrypted event #209

Merged
merged 5 commits into from
Mar 12, 2024
Merged

fix: getOptions after encrypted event #209

merged 5 commits into from
Mar 12, 2024

Conversation

adrums86
Copy link
Contributor

@adrums86 adrums86 commented Mar 9, 2024

Fixes an issue where the player options might not be set by the time the 'encrypted' event listener is attached, which can erroneously follow the MediaKeys flow instead of WebkitMediaKeys when legacy fairplay is keysystem. Also adds some debug logging to better track this behavior.

...and no, surprisingly the original typo was not the actual problem. 😄

Copy link
Contributor

@wseymour15 wseymour15 left a comment

Choose a reason for hiding this comment

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

Makes sense to me, just one question.

src/plugin.js Show resolved Hide resolved
Copy link
Contributor

@wseymour15 wseymour15 left a comment

Choose a reason for hiding this comment

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

LGTM

@adrums86 adrums86 merged commit 6b0b6dd into main Mar 12, 2024
4 checks passed
@adrums86 adrums86 deleted the fix-playerOptions branch March 12, 2024 19:18
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