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 anIDLEstate, no media has been loaded and the player is doing nothing.2- The player is in aCUEDstate, media has been loaded and is ready for playback.3- The player isPLAYING.4- The player isPAUSED.5- The player isBUFFERING.6- Playback hasENDED.
Example#
For demonstration purposes, the following is a simpler alternative.