![]() |
Previous | Next |
The setMode method sets the loop mode or shuffle mode to active or inactive.
Syntax
player.settings.setMode(modeName, state)
Parameters
modeName
String specifying the name of the mode being changed, containing one of the following values.
String | Description |
loop | Mode indicating whether the sequence of tracks repeats itself. |
shuffle | Mode indicating whether the tracks are played in random order. |
state
Boolean specifying the new state of the specified mode.
Return Values
This method does not return a value.
See Also
Previous | Next |