Packagecom.threerings.media
Classpublic class MediaPlayerCodes



Public Constants
 ConstantDefined by
  DURATION : String = "duration"
[static]
MediaPlayerCodes
  ERROR : String = "error"
[static]
MediaPlayerCodes
  METADATA : String = "metadata"
[static]
MediaPlayerCodes
  POSITION : String = "position"
[static]
MediaPlayerCodes
  SIZE : String = "size"
[static] Only applicable for VideoPlayer.
MediaPlayerCodes
  STATE : String = "state"
[static]
MediaPlayerCodes
  STATE_PAUSED : int = 3
[static]
MediaPlayerCodes
  STATE_PLAYING : int = 2
[static]
MediaPlayerCodes
  STATE_READY : int = 1
[static] Indicates we're ready to play.
MediaPlayerCodes
  STATE_STOPPED : int = 4
[static] Indicates that the playhead reached the end and the media has stopped.
MediaPlayerCodes
  STATE_UNREADY : int = 0
[static] Indicates we're still loading or initializing.
MediaPlayerCodes
Constant detail
DURATIONconstant
public static const DURATION:String = "duration"
ERRORconstant 
public static const ERROR:String = "error"
METADATAconstant 
public static const METADATA:String = "metadata"
POSITIONconstant 
public static const POSITION:String = "position"
SIZEconstant 
public static const SIZE:String = "size"

Only applicable for VideoPlayer.

STATEconstant 
public static const STATE:String = "state"
STATE_PAUSEDconstant 
public static const STATE_PAUSED:int = 3
STATE_PLAYINGconstant 
public static const STATE_PLAYING:int = 2
STATE_READYconstant 
public static const STATE_READY:int = 1

Indicates we're ready to play.

STATE_STOPPEDconstant 
public static const STATE_STOPPED:int = 4

Indicates that the playhead reached the end and the media has stopped.

STATE_UNREADYconstant 
public static const STATE_UNREADY:int = 0

Indicates we're still loading or initializing.