kplayer library
Classes
- Player
- Object handle create and boot the PlayerController
- PlayerAdaptivePackage
- PlayerAdaptivePackage is a class that contains the player instance
- PlayerController
- the player interface
-
PlayerMedia<
T> - PlayerStreamControllers
- PlayerStreams
- All streams to for state managment
- PlayerValue
Mixins
-
PlayerStateMixin<
T extends StatefulWidget> - Mixin handel Player (init,dispose)
Extensions
- HumanizeDuration
- add extension humanize to Duration it will return the duration in a human-readable format like "1 minute, 2 seconds" it support multipe languages like "en", "fr", "ar"
- ToReadableString
- add extension toReadableString to Duration
Enums
- PlatformEnv
- PlatformEnv enum is used to determine which platform the app is running on.
- PlayerEvent
- a Player Statuses enum
- PlayerMediaType
- a Player Media Types enum
- PlayerStatus
- a Player Statuses enum
Typedefs
- PlayerFactory = PlayerController Function({bool? autoPlay, int? id, bool? loop, required PlayerMedia media, bool? once})
- define the player contstructor function type