Skip to content

[video_player] [web] Videos are not working on iOS 17, both Safari and Chrome #137023

@PawlikMichal25

Description

@PawlikMichal25

Is there an existing issue for this?

Steps to reproduce

Well, try to show any video using video_player.

Not sure if it matters, but we're using canvaskit in our app.
We had exactly same implementation for a couple of months and it was working fine, but stopped after iOS 17 update.
It happens both in Safari and Chrome on iOS, also in Incognito.

Exactly same implementation is still working good on Native Android and Flutter Web on Android.

Expected results

Video plays

Actual results

Video fails to load and play.

Code sample

You can just run https://docs.flutter.dev/cookbook/plugins/play-video#complete-example

Screenshots or Video

I'm aware it might look like some random error or just a networking issue on the video here, but it happens consistently.

video.mp4

Logs

No response

Flutter Doctor output

Doctor output
flutter doctor -v
[✓] Flutter (Channel stable, 3.13.7, on macOS 14.0 23A344 darwin-x64, locale en-PL)
    • Flutter version 3.13.7 on channel stable at /Users/michal/Dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2f708eb839 (12 days ago), 2023-10-09 09:58:08 -0500
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/michal/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.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 17.0.6+0-17.0.6b829.9-10027231)

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.0 23A344 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.92

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listassigned for triageissue is assigned to a domain expert for further triagebrowser: safari-iosonly manifests in Safari on iOSe: OS-version specificAffects only some versions of the relevant operating systemp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions