[Webkit-unassigned] [Bug 270772] New: iOS 17.4 HTMLMediaElement#load() doesn't trigger some events for blob URLs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 10 16:58:08 PDT 2024


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

            Bug ID: 270772
           Summary: iOS 17.4 HTMLMediaElement#load() doesn't trigger some
                    events for blob URLs
           Product: WebKit
           Version: Safari 17
          Hardware: iPhone / iPad
                OS: iOS 17
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: guhenke at gmail.com

On iOS 17.4, calling load() on a media element whose src property is set to a blob URL created by URL.createObjectURL() doesn't trigger some events.
The issue does not occur when src is set to an HTTP URL.

Steps to reproduce:
1. On iOS 17.4 Safari, access https://codepen.io/gustavohenke/pen/KKYzqYr
2. Using the file selector, select a video file on the device. Observe that the log only goes up to loadedmetadata.
3. Play the video. Notice that the log now contains play, waiting, loadeddata, etc.
4. Click "Load Big Buck Bunny". Observe that the log contains loadeddata, canplay, etc just from the call to load()

Expected result:
The media element behaves the same with both HTTP and blob URLs

Actual result:
The media element doesn't fire loadeddata, canplay and canplaythrough events

-- 
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/20240310/9caa477b/attachment.htm>


More information about the webkit-unassigned mailing list