Skip to content

stevedj/FlutterYoutube

 
 

Repository files navigation

flutter_youtube

Flutter Plugin to play youtube Videos using youtube player api (android)

Supported : Android

How to Use

dependencies:
  flutter_youtube: "^0.1.2"

###Imports

import 'package:flutter_youtube/flutter_youtube.dart';

###Code

FlutterYoutube.playYoutubeVideoByUrl(
  apiKey: "<API_KEY>",
  videoUrl: "<Youtube Video URL>",
  fullScreen: true //default false
);
FlutterYoutube.playYoutubeVideoById(
  apiKey: "<API_KEY>",
  videoId: "<Youtube Video ID>",
  fullScreen: true //default false
);
Key Value
apiKey String (Not Null)
videoUrl String (Not Null)
videoId String (Not Null)
fullScreen Boolean (Optional)(Default = false)

About

Flutter Plugin to play youtube Videos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 43.2%
  • Dart 38.2%
  • Objective-C 13.0%
  • Ruby 5.6%