better_player_ios 1.2.0 copy "better_player_ios: ^1.2.0" to clipboard
better_player_ios: ^1.2.0 copied to clipboard

PlatformiOS

The iOS implementation of the better_player plugin, providing high-performance video playback using AVPlayer and FFI for seamless integration in Flutter apps.

example/example.md

Better Player Example #

Below is a simple example showing how to initialize and use BetterPlayer. For more extensive examples, please 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 Simple 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
299
downloads

Documentation

API reference

Publisher

verified publisherhasoft.pl

Weekly Downloads

The iOS implementation of the better_player plugin, providing high-performance video playback using AVPlayer and FFI for seamless integration in Flutter apps.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

better_player_platform_interface, ffi, flutter, objective_c

More

Packages that depend on better_player_ios

Packages that implement better_player_ios