Version: 1.x
PlayerState
Type: enum<int>
Identifies the state of the player by a number and can contain one of these possible values:
1
- The player is in anIDLE
state, no media has been loaded and the player is doing nothing.2
- The player is in aCUED
state, media has been loaded and is ready for playback.3
- The player isPLAYING
.4
- The player isPAUSED
.5
- The player isBUFFERING
.6
- Playback hasENDED
.
#
ExampleFor demonstration purposes, the following is a simpler alternative.