MicrosoftDocs / windows-dev-docs

Conceptual and overview content for developing Windows apps
Creative Commons Attribution 4.0 International
700 stars 1.21k forks source link

Docs are out of date #2538

Closed hupo376787 closed 4 years ago

hupo376787 commented 4 years ago

This doc describles how to add taskbar control buttons like below. image

But now the doc is out of date, we can easily achieve this by enable the Background Media Playback capability in the package.manifest.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

drewbatgit commented 4 years ago

Hi, thank you for your feedback. This article is intended to support legacy apps that use the old way of integrating with SMTC. As it states in the first paragraph:

"Starting with Windows 10, version 1607, UWP apps that use the MediaPlayer class to play media are automatically integrated with the System Media Transport Controls (SMTC) by default. This is the recommended way of interacting with the SMTC for most scenarios. For more information on customizing the SMTC's default integration with MediaPlayer, see Integrate with the System Media Transport Controls."

The linked article Integrate with the System Media Transport Controls has the most recent information.