Compartir a través de


Text Type

[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.]

You must define the type of text display box you want to use. The following valid types are shown in the following table.

Type Description
Time Current playback position in the media item in minutes and seconds.
Playlist Name of the current playlist.
Track# Number of the current item in the playlist.
#Tracks Number of items in the current playlist.
Title Title of the current item in the current playlist. Under certain conditions, this type may not display properly. As an alternative, use Title as part of a marquee.
Author Author of the current item in the current playlist. Under certain conditions, this type may not display properly. As an alternative, use Author as part of a marquee.
Copyright Copyright data of the current item in the current playlist. Under certain conditions, this type may not display properly. As an alternative, use Copyright as part of a marquee.
Filename File name of the current item in the current playlist.
FilenameExt The file name extension of the current item in the current playlist. The only supported values are "wma" and "wav".
Bitrate The encoded bit rate (in Kbps) of the current media item.
Frequency The sampled frequency (in KHz) of the current media item.
Status* The artist, album, genre, and bit rate of the current audio item during playback, or the bit rate and subtitles (if applicable) of the current video item. When a media item is not playing, the Status text type displays the current play state (for example, stopped or paused).

 

*Available for Windows Media Player 10 Mobile or later.

Text