-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: media
Description
What problem are you trying to solve?
I want to apply CSS filters/adjustments to <video> content without impacting the visual appearance of controls & subtitles.
In another use-case, I want to display: none the video content, as I'm writing to it a <canvas> with post-processing, but I'd still like to overlay the browser playback controls.
What solutions exist today?
You can recreate the controls and video controls yourself, then apply CSS filters etc to the <video>.
How would you solve it?
Give <video> pseudo-elements such as:
video::media-content- the poster and frame contentvideo::media-controls- the controls
::cue already exists for text tracks.
::-webkit-media-controls is already a thing.
Anything else?
No response
lukewarlow, yisibl, mvsde, Omiod, kevincox and 13 more
Metadata
Metadata
Assignees
Labels
addition/proposalNew features or enhancementsNew features or enhancementsneeds implementer interestMoving the issue forward requires implementers to express interestMoving the issue forward requires implementers to express interesttopic: media