allowsInlineMediaPlayback property
getter/setter pair
Set to true to allow HTML5 media playback to appear inline within the screen layout, using browser-supplied controls rather than native controls.
For this to work, add the webkit-playsinline attribute to any <video> elements. The default value is false.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - WKWebViewConfiguration.allowsInlineMediaPlayback)
- Linux WPE WebKit (Official API - WebKitSettings.media-playback-allows-inline)
Implementation
bool? allowsInlineMediaPlayback;