请问使用microsoft media player 控件时如何设置循环播放

Akun22 2003-12-17 02:58:47
如上
...全文
2 点赞 收藏 1
写回复
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
蒋晟 2003-12-17
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.
回复
发动态
发帖子
VB基础类
创建于2007-09-28

7451

社区成员

VB 基础类
申请成为版主
社区公告
暂无公告