次の方法で共有


CONTROLS Element

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The CONTROLS element enables the following attributes of the Controls object to be specified within a skin.

Attribute Description
currentAudioLanguage Specifies or retrieves the locale identifier (LCID) of the audio language for playback.
currentAudioLanguageIndex Specifies or retrieves the index that corresponds to the audio language for playback.
currentItem Specifies or retrieves the current media item.
currentMarker Specifies or retrieves the current marker number.
currentPosition Specifies or retrieves the current position of the clip in seconds from the beginning.
currentPositionTimecode Specifies or retrieves the current position in the current media item using a time code format.

 

Controls Object

Skin Programming Reference