Skip to content

Add noplaybackrate supported token to controlsList#13

Merged
beaufortfrancois merged 1 commit intoWICG:gh-pagesfrom
beaufortfrancois:noplaybackrate
May 21, 2021
Merged

Add noplaybackrate supported token to controlsList#13
beaufortfrancois merged 1 commit intoWICG:gh-pagesfrom
beaufortfrancois:noplaybackrate

Conversation

@beaufortfrancois
Copy link
Copy Markdown
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
Copy Markdown
Collaborator Author

@marcoscaceres Please have a look at this PR.

@marcoscaceres
Copy link
Copy Markdown
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