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

[webview_flutter] Added 'allowsInlineMediaPlayback' property #3334

Merged
merged 4 commits into from
Dec 16, 2020
Merged

[webview_flutter] Added 'allowsInlineMediaPlayback' property #3334

merged 4 commits into from
Dec 16, 2020

Conversation

mehmetf
Copy link
Contributor

@mehmetf mehmetf commented Dec 16, 2020

Description

The PR includes following changes:

  • adds allowsInlineMediaPlayback property to WebView to support inline media playback in iOS.
  • switched to using collection literals for Set.

Related Issues

#25630
#42099

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze) does not report any problems on my PR.
  • I read and followed the [Flutter Style Guide].
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
  • I updated CHANGELOG.md to add a description of the change.
  • I signed the [CLA].
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
  • No, this is not a breaking change.

@mehmetf
Copy link
Contributor Author

mehmetf commented Dec 16, 2020

@blasten This is ready to be reviewed.

@mehmetf mehmetf requested a review from blasten December 16, 2020 17:11
Copy link
Contributor

@amirh amirh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (modulo one small documentation nit)

Thanks for the extra test coverage!

packages/webview_flutter/lib/webview_flutter.dart Outdated Show resolved Hide resolved
@mehmetf mehmetf merged commit aa8fcb4 into flutter:master Dec 16, 2020
@mehmetf mehmetf deleted the webview_inline_media branch December 16, 2020 17:51
NickalasB added a commit to NickalasB/plugins that referenced this pull request Dec 17, 2020
* master:
  [camera] Ios support documentation  (flutter#3335)
  Remove custom null safety analysis_options files (flutter#3339)
  [webview_flutter] Added 'allowsInlineMediaPlayback' property (flutter#3334)
  [camera_platform_interface] Add torch definition to the FlashModes enum  (flutter#3326)
  [wifi_info_flutter] Edit sample wifi_info_flutter plugin (flutter#3271)

# Conflicts:
#	packages/webview_flutter/CHANGELOG.md
#	packages/webview_flutter/android/src/main/java/io/flutter/plugins/webviewflutter/FlutterWebView.java
#	packages/webview_flutter/lib/platform_interface.dart
#	packages/webview_flutter/pubspec.yaml
@gokhanbelli
Copy link

Although I made all the changes, the ipad is working in full screen but the iphone does not work

iphone.mov
ipad.mov

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants