In order to load media/subtitle from internal device storage, you should put the storage permissions as follows: You need to add the android:usesClearTextTraffic="true" flag in the AndroidManifest.xml file, or define a new "Network Security Configuration" file. Note that if you got "Cleartext HTTP traffic to * is not permitted" This is done by ensuring your /android/app/src/main/AndroidManifest.xml file contains a uses-permissionĭeclaration 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 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |