Repository: flutter
Issue: [platform-view][android] Page doesn't display when the page has a youtube iFrame
Labels: platform-android,engine,a: platform-views,has reproducible steps,P2,found in release: 3.10,found in release: 3.12,team-android,triaged-android

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

Simple use of the code 

```dart
void launchURL(String url) async {
  final uri = Uri.parse(url);
  if (!await launchUrl(uri)) throw 'Could not launch $url';
}
```

If the page contains a Youtube iframe, the screen goes black and the app is stuck on the page.

### Expected results

On Android only, the target web page should be displayed, including the Youtube iframe.
On iOS, it works fine.

### Actual results

Page is black, flickering and the app is stuck: no way to return from the page

### Code sample

<details>
<summary>Code sample</summary>

```dart
void launchURL(String url) async {
  final uri = Uri.parse(url);
  if (!await launchUrl(uri)) throw 'Could not launch $url';
}
```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details>
<summary>Logs</summary>

```console
/chromium(25670): [INFO:CONSOLE(2)] "JQMIGRATE: Migrate is installed, version 3.4.0", source: https://birdsandfriends.org/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.0 (2)
I/chromium(25670): [INFO:CONSOLE(233)] "Unrecognized feature: 'web-share'.", source: https://birdsandfriends.org/birdycam/assistance-et-support/ (233)
W/libc    (25670): Access denied finding property "sys.perf.boostopt"
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
Flutter (Channel stable, 3.7.12, on macOS 13.4 22F66 darwin-x64, locale fr-FR)
    • Flutter version 3.7.12 on channel stable at /Applications/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (il y a 10 semaines), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/alain/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • Java binary at: /Volumes/Clone 2To/Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] Android Studio (version 2020.3)
    • Android Studio at /Volumes/Clone 2To/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] VS Code (version 1.75.1)
    • VS Code at /Volumes/Clone 2To/Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • SM M236B (mobile) • RFCT41EM45L • android-arm64  • Android 13 (API 33)
    • macOS (desktop)   • macos       • darwin-x64     • macOS 13.4 22F66 darwin-x64
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 114.0.5735.133

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

```

</details>