Closed josiaho closed 1 year ago
I've marked this issue as stale because it's been over a year with no further comments. If this is still an issue in the latest cordova-ios version and an up-to-date iOS version, please let us know. Otherwise, this issue will be closed.
Closing as stale.
Bug Report
Problem
I want to play/autoplay an inline video on a secondary screen (Airplay). Test Project: Looper.zip
What is expected to happen?
Once the extended screen (airplay) launches, the inline video should load and autoplay.
What does actually happen?
Once the extended screen (airplay) launches, the inline video appears to load, but does not autoplay.
Information
My config.xml contains the following preferences:
<preference name="AllowInlineMediaPlayback" value="true" />
<preference name="MediaTypesRequiringUserActionForPlayback" value="none" />
And my external page contains this tag:<video src="img/fireandiceocean.mp4" preload autoplay playsinline loop />
The preferences do not appear to apply to the secondary webview.
I've modified the cordova-plugin-wkwebview-external-screen plugin in WKWebViewExternalScreen.m with the following with no avail:
Any thoughts?
Environment, Platform, Device
iPhone 7, iPad Mini 2, iPad Air 2, iPod touch gen 7, Xcode Simulators - all on iOS 14.2
Version information
Cordova: CLI 10.0.0, iOS 6.1.1 macOS 11.1 on an intel Retina iMac and M1 MacBook Air Xcode 12.3
Checklist