[Webkit-unassigned] [Bug 222115] <video> rendered inside <template> shows black for webcam stream (Safari 14.0.3 only)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 14 20:46:21 PDT 2021


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

Ryan <ryansolid at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryansolid at gmail.com

--- Comment #2 from Ryan <ryansolid at gmail.com> ---
Reproduced this black screen on M1 Mac as well.
https://codesandbox.io/s/streaming-user-device-dodse
Video seems to come in when the window loses and regains focus.

Template cloning also seems to also affect autoplay behavior of any video.
https://codesandbox.io/s/broken-autoplay-safari-vrr40?file=/src/index.js

I noticed this since it breaks in JavaScript frameworks that rely on this method for cloning nodes to do their templating. Lit uses `document.importNode` which seems to be fine, a number of other frameworks use this method. I'm the maintainer of Solid(https://github.com/solidui/solid) one such framework affected by this.

-- 
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/20210515/9d4e85d8/attachment-0001.htm>


More information about the webkit-unassigned mailing list