flutter_youtube_player 1.0.0 copy "flutter_youtube_player: ^1.0.0" to clipboard
flutter_youtube_player: ^1.0.0 copied to clipboard

discontinued
outdated

A new Flutter plugin for playing inline youtube videos.

flutter_youtube_player #

A new Flutter plugin for playing inline youtube videos. It is available only for Android and uses official android Youtube Player API. This plugin provides a FlutterYoutubePlayer widget which can be embedded in app like any other widget.

Supported

  • Android

How to Use #

dependencies:
  flutter_youtube_player: ^1.0.0

Imports #

import 'package:flutter_youtube_player/flutter_youtube_player.dart';

Code #


FlutterYoutubePlayer(
  apiKey: "<API_KEY>",
  videoId: "<Youtube Video ID>",
  autoPlay: false, //default true
)
Key Value Default
apiKey String (Not Null)
videoId String (Not Null)
autoPlay Boolean (Optional) true

Example #

Click here for complete example

0
likes
30
pub points
79%
popularity

Publisher

unverified uploader

A new Flutter plugin for playing inline youtube videos.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_youtube_player