[Webkit-unassigned] [Bug 207887] New: <video> play() on user touch action fails to play video

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 18 05:13:33 PST 2020


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

            Bug ID: 207887
           Summary: <video> play() on user touch action fails to play
                    video
           Product: WebKit
           Version: Safari 13
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jerryj at duckware.com

I created a custom video control (via canvas) to interactively control video playback (speed, forward, reverse, etc).  It works great.  Until I tested on an iPad (13.3.1).  Everything works, except for 'play()', which is kind of a huge show stopper.  The custom control is no longer viable.

Here is a very small test case that illustrates the problem:

    https://www.duckware.com/test/webkit/iosplayvideofails.html

In the bordered canvas box under the video:

  (1) A touch, slide, release FAILS to play the video
  (2) A touch, release DOES play the video

So somehow the 'slide' is the issue.  If the video is first muted (button provided), a 'slide to play' in the custom control works, which appears to be a huge tip off that Safari is intentionally blocking play() from working.

Is this a bug?  If not, how can a user-initiated 'slide' play a video?

-- 
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/20200218/d52678c9/attachment.htm>


More information about the webkit-unassigned mailing list