Skip to main content

youtube_player 4.0.2 copy "youtube_player: ^4.0.2" to clipboard
youtube_player: ^4.0.2 copied to clipboard

Play YouTube videos with the official IFrame Player API, in a minimal native WebView on Android, iOS, macOS, Windows and Linux, and in the page on the web.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add youtube_player

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  youtube_player: ^4.0.2

Alternatively, 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/youtube_player.dart';
25
likes
160
points
248
downloads

Documentation

API reference

Publisher

verified publishersarbagyastha.com.np

Weekly Downloads

Play YouTube videos with the official IFrame Player API, in a minimal native WebView on Android, iOS, macOS, Windows and Linux, and in the page on the web.

Homepage
Repository (GitHub)
View/report issues

Topics

#youtube #video #player #iframe #multimedia

License

BSD-3-Clause (license)

Dependencies

flutter, youtube_player_android, youtube_player_darwin, youtube_player_html, youtube_player_platform_interface

More

Packages that depend on youtube_player

Packages that implement youtube_player