[Webkit-unassigned] [Bug 228101] New: Webkit show black screen instead of video before triggering onvisilbilitychange event.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 20 00:34:31 PDT 2021


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

            Bug ID: 228101
           Summary: Webkit show black screen instead of video before
                    triggering onvisilbilitychange event.
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Apple Silicon)
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: puffluvluv at gmail.com

Hello! I trying to inserting and playing a live stream inside video tag. In chrome it works perfectly, video start playing as soon as possible, but in safari I can see when live stream is available and poster was removed(autoplay was successful triggered), but until I switch between browser tabs, I see only black screen where the video should be. Also I can see my livestream if I switch between applications windows e.g. I switch to slack then back to the safari and video will playing. During the study of the problem, I managed to find out that is not problem about webrtc (because on server I can see that live stream bytes was delivered to client), and it's not problem of html5 video tag, because autoplay (muted, of course) always triggered as expected. But this may be due to internal safari tricks with web pages, because only one thing happens when I switch between tabs/apps -- it's document.visibilityState. Manually pausing and then playing the video not works too. I can see video only after browser was trigger 'onvisibilitychange'.

-- 
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/20210720/9b13eab9/attachment.htm>


More information about the webkit-unassigned mailing list