flutter_plyr: ^0.0.4 copied to clipboard
simple plyr for play youtube inline. This is most stable and less control than other available packages.
simple plyr for play youtube videos inline
Getting Started #
For help getting started with Flutter, view our online documentation.
In order for plugin to work correctly, you need to add new key to ios/Runner/Info.plist
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSAllowsArbitraryLoadsInWebContent</key> <true/> </dict>
NSAllowsArbitraryLoadsInWebContent is for iOS 10+ and NSAllowsArbitraryLoads for iOS 9.
Ensure the following permission is present in your Android Manifest file, located in
Android API 20 and above (From Android 5.0)
How it works #
You can directly apply Youtube Video ID
MaterialApp( home: Scaffold( body: Container( child: Plyr('AGBjI0x9VbM')), //VideoID ), );