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

Add noplaybackrate supported token to controlsList #13

Merged
merged 1 commit into from
May 21, 2021

Conversation

beaufortfrancois
Copy link
Collaborator

As browser vendors are about to add playback speed controls to their native media player, it would be good if web developers could control the visibility of this new control.

Following HTMLMediaElement.playbackRate naming, this PR adds a new noplaybackrate supported token to HTMLMediaElement.controlsList.


image

Safari Technology Preview Release 123 screenshot


image

Chrome Canary 92.0.4512.4 screenshot

@beaufortfrancois
Copy link
Collaborator Author

@marcoscaceres Please have a look at this PR.

@marcoscaceres
Copy link
Contributor

Seems reasonable. Thanks for the ping!

@beaufortfrancois beaufortfrancois merged commit 74d3a2c into WICG:gh-pages May 21, 2021
neptunesoft pushed a commit to neptunesoft/chromium that referenced this pull request Jun 4, 2021
This CL adds a new "noplaybackrate" token to the HTMLMediaElement
controlsList attribute to let developers enable/disable playback
speed control in native media controls.

Intent to prototype and ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/u9jsiarDEOg

Spec: WICG/controls-list#13
Bug: 1211336
Change-Id: I11240652b5000972398d2f5faa8267035aa9abb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2905660
Reviewed-by: Yoav Weiss <[email protected]>
Reviewed-by: Tommy Steimel <[email protected]>
Reviewed-by: Frank Liberato <[email protected]>
Commit-Queue: François Beaufort <[email protected]>
Cr-Commit-Position: refs/heads/master@{#889324}
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