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?
to your account
The HTMLMediaElement.canPlayType() method determines whether the specified media type can be played back.
Can be used like this: [audio | video].canPlayType('video/mp4')
[audio | video].canPlayType('video/mp4')
Some MIME types would be:
link to MDN here
The text was updated successfully, but these errors were encountered:
Pretty sure this is supported by all audio & video supporting browsers.
Sorry, something went wrong.
Looks like this is now covered by MDN data:
No branches or pull requests