[Webkit-unassigned] [Bug 272815] New: PIP video is blank when video element is within display: none container

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 17 05:02:13 PDT 2024


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

            Bug ID: 272815
           Summary: PIP video is blank when video element is within
                    display: none container
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: callionica at callionica.com

On Safari, if you have a PIP video and you make its container `display: none`, the video will keep playing normally and the video will be visible. But if you start a new video while the container is display: none, the audio plays but the PIP window is black. Making the container visible during playback, makes the video appear again in the PIP window. 

On Chrome, the PIP window always displays the video regardless of the `display` setting for the `video` container. 

Chrome behaviour is better in this case. 

Is there ever a situation in which you’d want a black PIP window for a `video`? Either as a developer or a user? If Safari blanked the PIP window as soon as the container went `display: none`, Safari might have a case for a useful, consistent behaviour, but this doesn’t seem very useful as it is. It’d be much more useful for the PIP window to always display the video and if you changed Safari to get this useful behaviour, we’d also get cross-browser consistency.

-- 
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/20240417/79184f7c/attachment.htm>


More information about the webkit-unassigned mailing list