[Webkit-unassigned] [Bug 196344] New: iOS 12 UIWebView mediaPlaybackRequiresUserAction fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 28 03:02:29 PDT 2019


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

            Bug ID: 196344
           Summary: iOS 12 UIWebView mediaPlaybackRequiresUserAction fail
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ljin.zq at gmail.com

Created attachment 366160

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

Demo

I found a bug at iOS 12.2 with UIWebView.

1. create a UIWebView with  mediaPlaybackRequiresUserAction=YES;

self.webView.mediaPlaybackRequiresUserAction = YES;

It means, Video only can be play while User  click it.

2. Open a web with the UIWebView

I write a Video tag:

<video controls id="videoo" src="http://image.uc.cn/s/uae/g/0n/iosvideo/video.mp4"></video>


3. When I click the Video's default Play Button, it can not be play.


It works well at Safari and iOS 12.


You can build the Demo to a iOS 12.2  iPhone to try it.

-- 
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/20190328/e0916f5d/attachment.html>


More information about the webkit-unassigned mailing list