State Properties
state
@descState of player@typeString[Readonly]
Indicates Current state of player, All of player state are listed:
| value | Description |
|---|---|
| initial | Player instance created |
| ready | All of plugins in config.plugins was inited |
| attached | Media Element was created and mounted on DOM tree, if config.autoplay was configured to true, player.play() was invoked automatically |
| running | Player is playing |
| prevented | Play() was prevented by UserAgent |
| error | Fatal error occurs, which interruptted playing process |
| ended | Playback was finished, player.ended was true as well |
| destroyed | Player was destroyed |
ended
@descPlayback was finished@typeBoolean[Readonly]
paused
@desc@typeBoolean[Readonly]
networkState
@descThe same as HTMLMediaElement.networkState@typeString[Readonly]
readyState
@descThe same as HTMLMediaElement.readyState@typeString[Readyonly]
isFullscreen
@descIndicates if player is in fullscreen mode@typeBoolean[Readyonly]
isCssfullScreen
@descIndicates if player is in css-fullscreen mode@typeBoolean[Readyonly]
isSeeking
@descIndicates if player is in unfinished seeking action@typeBoolean[Readyonly]
isActive
@descIndicates if player is focused@typeBoolean[Readyonly]