Variable
Static Public Summary | ||
public |
LoopStatus: {"NONE": string, "TRACK": string, "PLAYLIST": string} Constants for playback looping support |
|
public |
MessageMethod: {"GET": string, "SET": string, "PLAY": string, "PAUSE": string, "TOGGLE": string, "STOP": string, "NEXT": string, "PREVIOUS": string, "SEEK": string, "SET_POSITION": string} |
|
public |
MessageProperty: {"POSITION": string, "RATE": string, "VOLUME": string, "SHUFFLE": string, "LOOP_STATUS": string, "FULL_SCREEN": string} |
|
public |
MessageType: {"CHANGE": string, "RETURN": string, "SEEK": string, "QUIT": string} |
|
public |
PlaybackStatus: {"PLAYING": string, "PAUSED": string, "STOPPED": string} Constants for playback status |
|
public |
The instance of Carrier for this web site. |
|
public |
|
|
public |
The instance of Host for this web site. |
|
public |
host: * |
|
public |
manifestData: * |
|
public |
The instance of Page for this web site. |
|
public |
pages: *[] |
|
public |
The instance of Playback for this web site. |
Static Public
public LoopStatus: {"NONE": string, "TRACK": string, "PLAYLIST": string} source
Constants for playback looping support
By default only <b>NONE</b> and <b>TRACK</b> are supported, <b>PLAYLIST</b> looping should be implemented by provider
public MessageMethod: {"GET": string, "SET": string, "PLAY": string, "PAUSE": string, "TOGGLE": string, "STOP": string, "NEXT": string, "PREVIOUS": string, "SEEK": string, "SET_POSITION": string} source
Properties:
Name | Type | Attribute | Description |
GET | string |
|
request a property from the client |
SET | string |
|
request to set a property in the client |
PLAY | string |
|
request to start playing the current media |
PAUSE | string |
|
request to pause the current media |
TOGGLE | string |
|
request to toggle playback of current media |
STOP | string |
|
request to completely stop playback |
NEXT | string |
|
request to skip to next media |
PREVIOUS | string |
|
request to skip to previous media |
SEEK | string |
|
request to move current playback position by some offset |
SET_POSITION | string |
|
request to move current playback position to specific point |
public MessageProperty: {"POSITION": string, "RATE": string, "VOLUME": string, "SHUFFLE": string, "LOOP_STATUS": string, "FULL_SCREEN": string} source
Properties:
Name | Type | Attribute | Description |
POSITION | string |
|
the time of playback |
RATE | string |
|
the speed rate of playback |
VOLUME | string |
|
the volume of playback |
SHUFFLE | string |
|
the shuffle state of playback |
LOOP_STATUS | string |
|
the loop status of playback |
FULL_SCREEN | string |
|
the fullscreen state |
public PlaybackStatus: {"PLAYING": string, "PAUSED": string, "STOPPED": string} source
Constants for playback status
public carrier: Carrier source
The instance of Carrier for this web site. There should be no need to interact directly with it.
public host: Host source
The instance of Host for this web site. There should be no need to interact directly with it.
public host: * source
public manifestData: * source
public page: Page source
The instance of Page for this web site. We define it here so it can be accessed by any provider specific code.