Properties Read-only properties exposed by the Moviie Player API.
The tables below cover every read-only property on window.Moviie. They
mirror the fields returned by getState()
and are kept in lockstep with the underlying media element.
Prefer getState() for atomic reads
Reading individual properties is convenient for one-off checks. When
you need a coherent snapshot of multiple fields at the same instant,
prefer getState() — it serialises the
whole state in a single read.
Property Type Description currentTime number Current playback position in seconds. duration number Total duration of the video in seconds. May be `0` until metadata loads. buffered number Furthest buffered position in seconds. played number Furthest position the viewer has actually played, in seconds.
Property Type Description paused boolean `true` when the player is paused or has not started yet. ended boolean `true` when playback has reached the end of the video. seeking boolean `true` while a seek operation is in progress. waiting boolean `true` while the player is waiting for more data to continue playback. ready boolean `true` once the `ready` event has fired. Use this to gate any code that depends on the player being initialised.
Property Type Description volume number Current volume level in `[0, 1]`. Independent from `muted`. muted boolean `true` when audio is muted, regardless of the volume level.
Property Type Description fullscreen boolean `true` while the player is in fullscreen mode. pip boolean `true` while the player is in Picture-in-Picture mode.
Property Type Description playbackRate number Current playback speed multiplier (default `1`). playbackQuality string | null Currently selected video quality (e.g. `'1080p'`). `null` while the adaptive bitrate is still negotiating. availableQualities string[] List of qualities the viewer can switch to.
Property Type Description videoWidth number Intrinsic width of the source video in pixels. videoHeight number Intrinsic height of the source video in pixels.
Property Type Description version string Player API version exposed at runtime — matches `PLAYER_API_VERSION`.