| Summary: | Media Source Extensions doesn't work in Iframe with Sandbox attribute. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sebastian Arguello <sarguellogos> |
| Component: | Frames | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | eric.carlson, jean-yves.avenard, jer.noble, sarguellogos, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=170075 https://bugs.webkit.org/show_bug.cgi?id=222312 |
||
|
Description
Sebastian Arguello
2023-02-22 09:03:42 PST
Using video.srcObject = mediaSource; instead of video.src = URL.createObjectURL(mediaSource); works fine even in the iframe with sandbox attribute. Not being familiar with WebKit code, it seems to me that reading from local url created for the media buffer gets incorrectly blocked as the iframe doesn't have an origin. |