flutube 0.1.0 copy "flutube: ^0.1.0" to clipboard
flutube: ^0.1.0 copied to clipboard

discontinued
outdated

Flutter plugin that facilitates the embed of YT videos without using the official YT API.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  String _ytURL = 'https://www.youtube.com/watch?v=fq4N0hgOWzU';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('FluTube Test'),
        ),
        body: SingleChildScrollView(
          child: Column(
            children: <Widget>[
              Text('Youtube video URL: $_ytURL', style: TextStyle(fontSize: 16.0),),
              FluTube(
                _ytURL,
                autoPlay: true,
                aspectRatio: 16 / 9,
              ),
            ],
          ),
        ),
      ),
      debugShowCheckedModeBanner: false,
    );
  }

}
11
likes
0
pub points
49%
popularity

Publisher

unverified uploader

Flutter plugin that facilitates the embed of YT videos without using the official YT API.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, http, open_iconic_flutter, video_player

More

Packages that depend on flutube