[Webkit-unassigned] [Bug 200760] New: OS 12.2 UIWebView mediaPlaybackRequiresUserAction fail in Lowpower Mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 14 23:15:16 PDT 2019


            Bug ID: 200760
           Summary: OS 12.2 UIWebView mediaPlaybackRequiresUserAction fail
                    in Lowpower Mode
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ljin.zq at gmail.com

Created attachment 376359

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


I found a bug at iOS 12.2 or newer version  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. Make my iPhone to "Low Power Mode"

3. 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>

4. 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 or newer version  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/20190815/ef82c796/attachment.html>

More information about the webkit-unassigned mailing list