better_player_windows 1.0.0 copy "better_player_windows: ^1.0.0" to clipboard
better_player_windows: ^1.0.0 copied to clipboard

PlatformWindows

The Windows implementation of the better_player plugin, providing video playback using libmpv and FFI for Flutter desktop apps.

example/example.md

Better Player Windows Example #

Below is an example showing how to initialize and use BetterPlayer on Windows. For more extensive examples, see the better_player_example package.

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

void main() => runApp(const BetterPlayerExample());

class BetterPlayerExample extends StatelessWidget {
  const BetterPlayerExample({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Better Player Windows Example')),
        body: Column(
          children: [
            const SizedBox(height: 8),
            BetterPlayer.network(
              'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
              betterPlayerConfiguration: const PlayerConfiguration(
                aspectRatio: 16 / 9,
              ),
            ),
          ],
        ),
      ),
    );
  }
}
0
likes
160
points
43
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

The Windows implementation of the better_player plugin, providing video playback using libmpv and FFI for Flutter desktop apps.

Repository (GitHub)
View/report issues

Topics

#video #player #windows #libmpv #streaming

License

Apache-2.0 (license)

Dependencies

better_player_platform_interface, ffi, flutter

More

Packages that depend on better_player_windows

Packages that implement better_player_windows