Re:HTMLMediaElement.canPlayType()
by LeoNatan25 on Sunday February 27, 2022 @01:47PM
(#30491233)
It’s true. “video/mp4” really means nothing. At most, it’s a mime type for the file container, but exposes no information on the video and audio codecs contained in it. A better approach would be using this API for querying whether the video, audio and subtitle elements are playable, in addition to the container.
[ Parent
| on HN ]
There are no comments on this comment yet.