y_player library

Classes

QualityOption
Represents a video quality option
YPlayer
A customizable YouTube video player widget.
YPlayerController
Controller for managing the YouTube player.
YPlayerInitializer
A utility class to ensure proper initialization of the YPlayer dependencies.
YPlayerState
The state for the YPlayer widget.

Enums

YPlayerStatus
Represents the current status of the YPlayer.

Functions

yPlayerDefaultEnterFullscreen() Future<void>
Default enter native fullscreen
yPlayerDefaultExitFullscreen() Future<void>
Makes the native window exit fullscreen.

Typedefs

YPlayerProgressCallback = void Function(Duration position, Duration duration)
Callback signature for when the player's progress changes.
YPlayerStateCallback = void Function(YPlayerStatus status)
Callback signature for when the player's status changes.