Module: localplayback_js

Methods

(inner) controlLocalPlayback(newState) → {void}

Sets the local playback state
Parameters:
Name Type Description
newState string one of play, stop, pause
Source:
Returns:
Type
void

(inner) createLocalPlaybackEl(createEvent) → {void}

Creates the local playback element
Parameters:
Name Type Description
createEvent Event triggering event
Source:
Returns:
Type
void

(inner) initLocalPlayback() → {void}

Initializes the local playback related elements
Source:
Returns:
Type
void

(inner) localPlaybackVolumeStep(dir) → {void}

Changes the local volume by +/-10%
Parameters:
Name Type Description
dir string direction, up or down
Source:
Returns:
Type
void

(inner) setLocalPlaybackVolume(volume) → {void}

Sets local playback volume
Parameters:
Name Type Description
volume number volume to set
Source:
Returns:
Type
void