This is done by ensuring your /android/app/src/main/AndroidManifest.xml file contains a uses-permission declaration for : Īs Flutter includes this permission by default, the permission is likely already declared in the file. To load media/subitle from an internet source, your app will need the INTERNET permission. To enable vlc cast functionality for external displays (chromecast), you should also add the following: NSLocalNetworkUsageDescription NOTE: While the Flutter video_player is not functional on iOS Simulators, this package ( flutter_vlc_player) is fully functional on iOS simulators. Make sure that following line in /ios/Podfile uncommented: If you’re unable to view media loaded from an external source, you should also add the following: NSAppTransportSecurityįor more information, or for more granular control over your App Transport Security (ATS) restrictions, you should read Apple’s documentation. This is done by adding the following to your project’s /ios/Runner/ist file (see example for details): io.flutter.embedded_views_preview For iOS, you need to opt into the Flutter embedded views preview.