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

Deprecate isTypeSupported in favor of Media Capabilities #355

Open
marcoscaceres opened this issue Jul 4, 2024 · 1 comment
Open

Deprecate isTypeSupported in favor of Media Capabilities #355

marcoscaceres opened this issue Jul 4, 2024 · 1 comment

Comments

@marcoscaceres
Copy link
Member

It may not be possible to deprecate the isTypeSupported() 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/.

See also:
whatwg/html#10460

@chrisn chrisn changed the title Deprecate isTypeSupported in favor or Media Capabilities Deprecate isTypeSupported in favor of Media Capabilities Jul 4, 2024
@joeyparrish
Copy link
Member

Media applications have to support devices with non-updating web frameworks that are as many as 5 years old. So applications won't be able to completely give up on MediaSource.isTypeSupported for quite some time.

If there's a warning, it would only show up on newer devices and evergreen browsers, though, so that should be fine and probably won't cause much confusion.

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

No branches or pull requests

2 participants