flutter_plyr 0.0.4 copy "flutter_plyr: ^0.0.4" to clipboard
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.

flutter_plyr #

simple plyr for play youtube videos inline

Getting Started #

For help getting started with Flutter, view our online documentation.

iOS #

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.

Android #

Ensure the following permission is present in your Android Manifest file, located in

<uses-permission android:name="android.permission.INTERNET"/>

Android API 20 and above (From Android 5.0)

How it works #

You can directly apply Youtube Video ID

Image of Yaktocat Image of Yaktocat

MaterialApp(
      home: Scaffold(
        body: Container(
            child: Plyr('AGBjI0x9VbM')), //VideoID
      ),
    );

Future Update: Vimeo Support #

5
likes
40
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

simple plyr for play youtube inline. This is most stable and less control than other available packages.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, flutter_webview_plugin

More

Packages that depend on flutter_plyr