Ā·CTO of 1001Doktor App

YouTube Player "Error Code 15" on iOS (works fine on Android)

Troubleshooting

Hi everyone,

I’m having trouble with the YouTube Player widget in FlutterFlow. On Android devices, everything works fine, but on iOS devices I consistently get "Error Code 15" when trying to play a video.

Possible causes I’m considering:

  • iOS-specific WebKit restrictions for embedded players.

  • YouTube API limitations on certain videos.

  • Missing iOS configuration (Info.plist or App Transport Security settings).

Question:

  • Has anyone solved this specific issue with FlutterFlow on iOS?

  • Do we need a custom setup (e.g., using youtube_player_iframe manually, or enabling extra iOS permissions)?

  • Is there an official workaround recommended by FlutterFlow for iOS devices?

Any advice or experiences would be super helpful šŸ™

Thanks in advance!

What have you tried so far?
  • Used both video ID only and full YouTube URL .

  • Tested on iOS simulator and real devices (same result).

  • Confirmed the app is using the latest FlutterFlow version.

  • Suspect it may be related to how youtube_player_flutter or youtube_player_iframe behaves on iOS, since these packages are known to have restrictions with WebViews / iFrames.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
12 replies