You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may not be possible to deprecate the canPlayType() API, but maybe we can encourage user agents to display a warning and also discourage further specify these capabilities for media elements and instead use w3c.github.io/media-capabilities/.
The text was updated successfully, but these errors were encountered:
marcoscaceres
changed the title
Deprecate isTypeSupported and canPlayType for media elements in favor media capabilities
Deprecate canPlayType for media elements in favor media capabilities
Jul 4, 2024
That looks like a lot more sophisticated API indeed, but for a number of cases prolly all you need is a tri-state? It at least seems much more involved to invoke that API if all you're after is some information about a MIME type.
What is the issue with the HTML Standard?
It may not be possible to deprecate the
canPlayType()
API, but maybe we can encourage user agents to display a warning and also discourage further specify these capabilities for media elements and instead use w3c.github.io/media-capabilities/.The text was updated successfully, but these errors were encountered: