[ static enum ] State
Class: MediaPlayer.
Description:
Enum for media player states.
Type: number
Properties:
| Name | Description |
|---|---|
|
No media loaded. |
|
Media is stopped. |
|
Media is playing. |
Examples:
if(player.state === MediaPlayer.State.Playing)
{
console.log("Player is playing");
}
