Settings.getMode
The getMode method determines whether the loop mode or shuffle mode is active.
Syntax
player.settings.getMode(modeName)
Parameters
modeName
String specifying the name of the mode in question, containing one of the following values.
String Description
autoRewind Mode indicating that the tracks are rewound to the beginning after playing to the end.
loop Mode indicating that the sequence of tracks repeats itself.
showFrame Mode indicating that the nearest key frame is displayed at the current position when not playing. This mode is not relevant for audio tracks.
shuffle Mode indicating that the tracks are played in random order.
Return Values
This method returns a Boolean value indicating whether the specified mode is active.
Requirements
For loop and shuffle modes, Windows Media Player version 7.0 or later.
For autoRewind and showFrame modes, Windows Media Player 9 Series or later.