[Webkit-unassigned] [Bug 179300] New: Play action rejected when src is ObjectURL from ArrayBuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 5 12:52:56 PST 2017


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

            Bug ID: 179300
           Summary: Play action rejected when src is ObjectURL from
                    ArrayBuffer
           Product: WebKit
           Version: Safari 11
          Hardware: iPhone / iPad
                OS: iOS 11
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wilhelm.wanecek at gmail.com

Created attachment 326074

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

HTML file reproducing the error

Executing the play() method of a HTMLVideoElement (<video>) with the attributes "autoplay", "muted", and "playsinline" is rejected with a NotSupportedError when the source is an objectURL from a Blob, despite the video element meeting the requirements for being played inline.

Steps to reproduce:
1. Open the attached file 'video-autoplay-rejected.html' on an iOS device (For testing purposes, I've been running iOS 11 on a simulated iPhone 7 through the Xcode Device Simulator.).
2. In order to gain access to the logs, inspect the browser tab through Safari developer tools on a Mac.
3. Notice how the video fails to autoplay, and subsequent calls to video.play() are rejected.
---
4. Open up the 'video-autoplay-resolved.html' and repeat steps 2-3.
5. Notice how the demo works as expected - the video is automatically played, and can be paused/played on demand.

Tested on iOS 11.0.1 (15A8401)

-- 
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/20171105/896a0fec/attachment.html>


More information about the webkit-unassigned mailing list