PAM Native Video
Start here
Section titled “Start here”Every PAM Native product runs on the PAM runtime. Install and verify PAM first, create a Native application, and add this package through PAM Composer:
curl -fsSL https://github.com/push-in/pam/releases/latest/download/install.sh | shpam doctorpam init my-app --template nativecd my-apppam composer require pushinbr/pam-native-videopam doctorpam native devreturn VideoPlayer::make('https://cdn.example.com/master.m3u8') ->autoPlay() ->controls() ->resizeMode(VideoResizeMode::Cover) ->onEvent(fn (VideoEventKind $kind, array $event) => $this->handle($kind, $event));VideoPlayer owns native adaptive/local playback; VideoResizeMode selects
contain/cover/fill; VideoEventKind reports prepared/progress/completion/
failure; VideoPlaybackState tracks lifecycle. Subtitle/audio tracks, looping,
mute/volume, revision-based seek, and sandboxed local files are supported.
Prefer adaptive manifests for variable networks, keep progress intervals coarse, make seek an intentional state revision rather than every render, and pause/release with screen visibility. Android uses Media3 1.9.3; iOS uses AVFoundation/AVKit.
VideoPluginProvider registers VideoPlayer automatically.