Partager via


Referencing Skins in URLs

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

If you use a URL to load a media file that will be played by Windows Media Player, you can request that a particular skin be used with that file. If the skin is already installed on the user's machine, it will be used; otherwise the previous skin will be used.

To request a skin, add the following to the end of the URL:

?WMPSkin=skinname

skinname is the name of the skin you want to request. Do not use quotes around the name of the skin.

For example, to request the headspace skin be used, type the following http URL:

https://www.proseware.com/mymedia.wma?WMPSkin=headspace

About Skins