youtube_player_android 0.1.1
youtube_player_android: ^0.1.1 copied to clipboard
Android implementation of the youtube_player plugin, hosting the YouTube IFrame Player API in a minimal android.webkit.WebView driven through Pigeon Native Interop (JNI).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add youtube_player_androidThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
youtube_player_android: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:youtube_player_android/youtube_player_android.dart';