Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] [video_player] only shows a blank screen, no video #51926

Closed
DevNico opened this issue Mar 4, 2020 · 3 comments
Closed

[iOS] [video_player] only shows a blank screen, no video #51926

DevNico opened this issue Mar 4, 2020 · 3 comments
Labels
p: video_player The Video Player plugin package flutter/packages repository. See also p: labels. platform-ios iOS applications specifically

Comments

@DevNico
Copy link

DevNico commented Mar 4, 2020

The video_player plugin is not working on IOS. Instead of playing the video a blank white screen is shown. On videos with audio it sometimes plays the audio but still no video.

Steps to Reproduce

I created a demo application to show the problem. It's basically just the example code from the video_player plugin but with a different example video because the one provided isn't working anymore.

  1. Run git clone https://github.com/DevNico/video_player_test.git.
  2. Run cd video_player_test
  3. Run flutter run on an ios device / simulator

Expected results:
After tapping on the play button the video should start playing

Actual results:
It just shows a white screen

Logs
[flutter run -v logs](https://github.com/DevNico/video_player_test/blob/master/log.txt)
Analyzing video_player_test...
No issues found! (ran in 1.9s)
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale en-DE)
    • Flutter version 1.12.13+hotfix.8 at /Users/devnico/flutter
    • Framework revision 0b8abb4724 (3 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0


[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/devnico/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/devnico/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/devnico/Library/Android/sdk
    • Java binary at: /Users/devnico/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.9.0

[✓] Android Studio (version 3.5)
    • Android Studio at /Users/devnico/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents
    • Flutter plugin version 40.0.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (2 available)
    • iPhone 11 Pro Max                     • 4E9353F7-09B9-4EFA-BAAF-6A4A62E8600B • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
    • iPad Pro (12.9-inch) (3rd generation) • F75B211A-B515-467D-A10B-2798650CF862 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)

• No issues found!
@VladyslavBondarenko VladyslavBondarenko added p: video_player The Video Player plugin platform-ios iOS applications specifically plugin labels Mar 4, 2020
@calvinmuller
Copy link

https://pub.dev/packages/video_player#ios

The video player is not functional on the simulator - does it also not work on your device?

@VladyslavBondarenko
Copy link

Hi @DevNico
Please follow up on #14647
I'm closing the current one as duplicate.
Please comment if you have the problem with a real device (I see only simulators in connected devices), and I'll reopen it
Thank you

@lock
Copy link

lock bot commented Apr 4, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@lock lock bot locked and limited conversation to collaborators Apr 4, 2020
@flutter-triage-bot flutter-triage-bot bot added the package flutter/packages repository. See also p: labels. label Jul 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p: video_player The Video Player plugin package flutter/packages repository. See also p: labels. platform-ios iOS applications specifically
Projects
None yet
Development

No branches or pull requests

3 participants