videoplay 0.2.4
videoplay: ^0.2.4 copied to clipboard
Embed video players in your webpage, and control them in Dart.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add videoplayThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
videoplay: ^0.2.4Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:videoplay/api.dart';
import 'package:videoplay/depot.dart';
import 'package:videoplay/html5.dart';
import 'package:videoplay/twitch.dart';
import 'package:videoplay/vimeo.dart';
import 'package:videoplay/youtube.dart';