State Properties
state
@desc
State of player@type
String[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
@desc
Playback was finished@type
Boolean[Readonly]
paused
@desc
@type
Boolean[Readonly]
networkState
@desc
The same as HTMLMediaElement.networkState@type
String[Readonly]
readyState
@desc
The same as HTMLMediaElement.readyState@type
String[Readyonly]
isFullscreen
@desc
Indicates if player is in fullscreen mode@type
Boolean[Readyonly]
isCssfullScreen
@desc
Indicates if player is in css-fullscreen mode@type
Boolean[Readyonly]
isSeeking
@desc
Indicates if player is in unfinished seeking action@type
Boolean[Readyonly]
isActive
@desc
Indicates if player is focused@type
Boolean[Readyonly]