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.

example/lib/main.dart

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

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Column(
          children: <Widget>[
            Expanded(
              child: FlutterYoutubePlayer(
                apiKey: "api_key",
                videoId: "video_id",
              ),
            ),
            Expanded(
                child: Center(
              child: Text('Description of the Video'),
            )),
          ],
        ),
      ),
    );
  }
}
0
likes
30
pub points
78%
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