mediaplayerѭ

来自「VB的文本资料,需要时有帮助」· 代码 · 共 31 行

TXT
31
字号
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.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?