NEW270721
Video track is not displayed if controls are enabled before the track is added
https://bugs.webkit.org/show_bug.cgi?id=270721
Summary Video track is not displayed if controls are enabled before the track is added
Jeff Johnson
Reported 2024-03-08 15:41:41 PST
Created attachment 470253 [details] 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
Attachments
Inspector Bootstrap Script (980 bytes, application/x-javascript)
2024-03-08 15:41 PST, Jeff Johnson
no flags
Radar WebKit Bug Importer
Comment 1 2024-03-11 15:05:45 PDT
Note You need to log in before you can comment on or make changes to this bug.