Partager via


Using HTMLView with Online Stores

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

Windows Media Player prompts users for permission to display HTMLView content in Now Playing. Online stores can disable this prompt by specifying a base URL value in the HTMLView element of the ServiceInfo document. When Windows Media Player opens a playlist that specifies HTMLView content to display, the Player compares the base URL from the ServiceInfo document of the current active online store to the base URL of the HTMLView content. If they match, Windows Media Player displays the HTMLView content without prompting the user.

Displaying Web Pages in Windows Media Player

HTMLView Element

Information Common to Type 1 and Type 2 Online Stores