Skip to content

Fix speed plugin always controlling the first player on the page via …#262

Merged
digitas-git merged 3 commits into
mediaelement:masterfrom
sebbayer:bugfix/speed-keyboard-controls
Sep 6, 2024
Merged

Fix speed plugin always controlling the first player on the page via …#262
digitas-git merged 3 commits into
mediaelement:masterfrom
sebbayer:bugfix/speed-keyboard-controls

Conversation

@sebbayer

@sebbayer sebbayer commented Aug 9, 2024

Copy link
Copy Markdown
Contributor

The keyboard controls for the speed plugin (< and > keys that have been implemented in #134) would always control the first player on a page. This is a problem when multiple players exist on a page. This PR fixes the problem by storing a reference to the radio buttons on the player instance. I have also added a demo page for the plugin that did not exist yet.

@digitas-git digitas-git merged commit 4118c79 into mediaelement:master Sep 6, 2024
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