NEW258713
vp8 and vp9 blob can not be played in <video>
https://bugs.webkit.org/show_bug.cgi?id=258713
Summary vp8 and vp9 blob can not be played in <video>
Jozef Chutka
Reported 2023-06-29 23:34:01 PDT
Created attachment 466881 [details] vp9 video A vp8 and vp9 video can be played in <video> element, however when the very same video is loaded via URL.createObjectURL(blob) video throws MediaError with code=4. - I have tried, video.src, video.srcObject and source element appended to video failed in all cases - Interestingly blob-s can be played as long as these are h264 or hevc in mp4. demo code ```html <body> <video src="out9.webm" controls></video> <script> (async ()=>{ const blob = await (await fetch("out9.webm")).blob(); const video = document.createElement("video"); video.controls = true; video.addEventListener("error", () => console.log(video.error)); video.src = URL.createObjectURL(blob); document.body.append(video); })() </script> ``` see attachments for demonstration asset
Attachments
vp9 video (175.08 KB, video/webm)
2023-06-29 23:34 PDT, Jozef Chutka
no flags
demo html (341 bytes, text/html)
2023-06-29 23:35 PDT, Jozef Chutka
no flags
Jozef Chutka
Comment 1 2023-06-29 23:35:36 PDT
Created attachment 466882 [details] demo html
Radar WebKit Bug Importer
Comment 2 2023-07-03 07:31:18 PDT
Note You need to log in before you can comment on or make changes to this bug.