Skip to content

marianoarga/FlutterYoutube

 
 

Repository files navigation

flutter_youtube

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

Supported

  • Android
  • iOS

How to Use

dependencies:
  flutter_youtube: "^1.0.1"

###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 37.3%
  • Dart 33.5%
  • Objective-C 24.1%
  • Ruby 5.1%