player_plugin library

player_plugin.dart Dart API for the native video player (iOS + Android).

Usage: final controller = PlayerController(); Widget playerWidget = PlayerView(controller: controller);

// After the view is created: await controller.play('https://example.com/video.m3u8');

Classes

PlayerController
Controls the native iOS video player.
PlayerEvent
Typed representation of a native player event.
PlayerView
A widget that renders the native iOS video player.