Bug 200760

Summary: OS 12.2 UIWebView mediaPlaybackRequiresUserAction fail in Lowpower Mode
Product: WebKit Reporter: Jin <ljin.zq>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Demo none

Jin
Reported 2019-08-14 23:15:16 PDT
Created attachment 376359 [details] Demo 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.
Attachments
Demo (32.46 KB, application/x-zip-compressed)
2019-08-14 23:15 PDT, Jin
no flags
Radar WebKit Bug Importer
Comment 1 2019-08-15 20:00:23 PDT
Note You need to log in before you can comment on or make changes to this bug.