mpv_dart 0.0.1 copy "mpv_dart: ^0.0.1" to clipboard
mpv_dart: ^0.0.1 copied to clipboard

MPV player's JSON IPC binding for Dart (Flutter)

MPV Dart #

MPV Player's JSON-IPC binding for Dart (Flutter Supported)

Installation #

Install in your Dart/Flutter project with:

$ dart pub add dart_mpv
$ flutter pub add dart_mpv

mpv_dart requires mpv player to be installed in your System. To learn how to install for your operating system, go here

Usage #

Create an MPVPlayer instance

import 'package:mpv_dart/mpv_dart.dart';

void main() async {
    MPVPlayer player = MPVPlayer();
    // start the native player process
    await player.start();

    // load any file/url
    await player.load("ytdl://www.youtube.com/watch?v=Fp8msa5uYsc")
   
   // adjust volume (percentage)
   await player.volume(50);
}

Changelog #

Too see changes go here

8
likes
120
pub points
54%
popularity

Publisher

verified publisherkrtirtho.dev

MPV player's JSON IPC binding for Dart (Flutter)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

eventify, path

More

Packages that depend on mpv_dart