youtube_player_embed 0.0.2 copy "youtube_player_embed: ^0.0.2" to clipboard
youtube_player_embed: ^0.0.2 copied to clipboard

A Flutter package for embedding YouTube videos with customizable options.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:youtube_player_embed/youtube_player_embed.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: YoutubePlayerView(
            videoId: 'pUb9EW770d0',
            autoPlay: true,
            mute: false,
          ),
        ),
      ),
    );
  }
}
16
likes
150
points
170
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for embedding YouTube videos with customizable options.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, flutter_inappwebview

More

Packages that depend on youtube_player_embed