[Webkit-unassigned] [Bug 270721] New: Video track is not displayed if controls are enabled before the track is added

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 8 15:41:41 PST 2024


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

            Bug ID: 270721
           Summary: Video track is not displayed if controls are enabled
                    before the track is added
           Product: WebKit
           Version: Safari 17
          Hardware: Mac (Apple Silicon)
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: opendarwin at lapcatsoftware.com

Created attachment 470253

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

Inspector Bootstrap Script

Safari 17.4 (18618.1.15.111.5, 18618) and Safari Technology Preview 190 (Safari 17.4, WebKit 18619.1.5.5.2) on macOS 13.6.5 (22G621)

Steps to reproduce:
1. Open the web inspector
2. Add the attached Inspector Bootstrap Script
3. Open https://twitter.com/briebriejoy/status/1766215199072121305

Expected results: The video and audio are played.

Actual results: Only the audio is played. (If necessary, unmute the video to hear.)

The bug is that if the video controls are enabled before any video (or audio) tracks are added, Safari seems to think that there won't be any video. Whereas if the video controls are enabled after a video track is added (set enableImmediately = false in the Inspector Bootstrap Script), it works as expected and displays video in addition to audio.

This bug affects the show native video controls feature of my Safari extension StopTheMadness: https://apps.apple.com/app/stopthemadness-pro/id6471380298

-- 
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/20240308/961e5faf/attachment.htm>


More information about the webkit-unassigned mailing list