Highlighting PlayTo / DLNA functionality in your Windows 8 Apps
Using the PlayTo functionality within a media application is a great way to enhance your media related app – but the methodology for the user to invoke the PlayTo feature in Windows 8 relies on a full working knowledge of the Charms bar (The user needs to select a device from the devices charm as he is about to play a video).
So in order to highlight this great feature I have added a new button on my Apps’ application bar that also invokes the PlayTo device menu:
NB If you don’t want to modify your StandardStyles.XAML – which is generally regarded as bad practice then you can add this mark-up to the XAML of your App.XAML file where it will also be automagically ‘found’!
The mark-up matches the mark-up for the existing “Play” button with only the text changing (to ‘Play To’)
And the button in your media page then calls the following method which invokes the ‘PlayTo’ Devices menu: