Closed hupo376787 closed 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.
This doc describles how to add taskbar control buttons like below.
But now the doc is out of date, we can easily achieve this by enable the
Background Media Playback
capability in thepackage.manifest
.Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.