[Webkit-unassigned] [Bug 258713] New: vp8 and vp9 blob can not be played in <video>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 29 23:34:01 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258713

            Bug ID: 258713
           Summary: vp8 and vp9 blob can not be played in <video>
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jozefchutka at gmail.com

Created attachment 466881

  --> https://bugs.webkit.org/attachment.cgi?id=466881&action=review

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230630/8681bb81/attachment.htm>


More information about the webkit-unassigned mailing list