Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 1ab5b7c

Browse files
alexmarkleyAlex Markley
authored andcommitted
make inlineMediaPlayback behavior consistent across platforms
1 parent 8c19f6f commit 1ab5b7c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/webview_flutter/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.18
2+
3+
* Support inline media on iPhone if the HTML5 content requests it.
4+
15
## 0.3.17
26

37
* Fix pedantic lint errors. Added missing documentation and awaited some futures

packages/webview_flutter/ios/Classes/FlutterWebView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ - (instancetype)initWithFrame:(CGRect)frame
6868
configuration.userContentController = userContentController;
6969
[self updateAutoMediaPlaybackPolicy:args[@"autoMediaPlaybackPolicy"]
7070
inConfiguration:configuration];
71+
configuration.allowsInlineMediaPlayback = true;
7172

7273
_webView = [[WKWebView alloc] initWithFrame:frame configuration:configuration];
7374
_navigationDelegate = [[FLTWKNavigationDelegate alloc] initWithChannel:_channel];

0 commit comments

Comments
 (0)