Youtube_player_flutter: [BUG] iOS only shows black view

Created on 20 Jul 2020  路  6Comments  路  Source: sarbagyastha/youtube_player_flutter

Describe the bug
The iOS Player shows only a black view. The same code works on Android.

To Reproduce

  • Create a new project
  • Add youtube_player_iframe
  • Follows iOS steps to configure Info.plist
  • Start App

Expected behavior
Show the player without the black view.

Screenshots
youtube_player_iframe

Technical Details:

  • Device: iPhone 11 Pro (Simulator and real device)
  • OS: iOS 13.5
  • Version 1.0.1
bug youtube_player_iframe

Most helpful comment

Works in 1.1.0. Many thanks!

All 6 comments

Same here

Willl there be a fix to it? Or on real device it works and is not working just on emulators

Have any of you remembered to request permission to stream video from the internet?

https://flutter.dev/docs/cookbook/plugins/play-video#2-add-permissions-to-your-app

Also, if you read the docs you will see this:

image

@phackwer Yeah I have requested the permission, like I wrote in the steps To Reproduce.
Even with the requested permission it is not working on my real iOS device.

Works in 1.1.0. Many thanks!

Was this page helpful?
0 / 5 - 0 ratings