[Webkit-unassigned] [Bug 256075] New: WKWebView configuration mediaTypesRequiringUserActionForPlayback not working after iOS 16.3.1 update
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 27 22:21:18 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=256075
Bug ID: 256075
Summary: WKWebView configuration
mediaTypesRequiringUserActionForPlayback not working
after iOS 16.3.1 update
Product: WebKit
Version: WebKit Nightly Build
Hardware: iPhone / iPad
OS: iOS 16
Status: NEW
Severity: Blocker
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vaibhav.garg at splashlearn.com
I am using WkWebView to display some dynamic content made in cocos creator game engine. For sound to play without user interaction I was using the "mediaTypesRequiringUserActionForPlayback" flag for WKWebViewConfiguration as '0' i.e. no user interaction is required to play audio/video.
The above setting was working fine and sound autoplay was working up untill iOS 16.0, after updating my iPad to iOS 16.3.1 the autoplay of sound stopped working. It can only be played if I call AudioContext.resume() on user interaction.
Can anyone advice how to get the audio autoplay working correctly again.
--
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/20230428/581f8beb/attachment.htm>
More information about the webkit-unassigned
mailing list