2026-05-07 10:53 UTC
its real btw
that function either returns an empty string, "probably" or "maybe". those are the literal documented return values it has.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canPlayType
Replies (1)
-
@stag@mk.absturztau.be 2026-05-07 11:22
@vox@mk.absturztau.be thats kinda crazy i presume its because most mimetypes are purely container formats and contain no codec information so its pretty hard to determine if its playable but take that with a grain of salt