I want to add a selector into the standard transport control of windows universal apps, so i can select the quality of a video.
I tried to modify the xaml where the standard controls are defined, but the control wasn't effected and the standard control is still dislplayed.
The MediaElement with the standard transport control:
<MediaElement AreTransportControlsEnabled="True">
</MediaElement>
Open Blend or on VS2015 click View->Other Windows-> Document Outline(ctrl+alt+T)
add MediaTransportControls in xaml
No go to Document Outline and right click on the MediaTransportControls -> Edit Template -> Edit Copy (I have a styles.xaml i choose to put it there, you can just click ok)
Now the Document Outline changes view to MediaTransportControls Template and you can change it to your likes. ex. I added a play/pause in the middle.
Doing this in Blend gives you better access, such as, to edit states.
After you done customizing you can add it in you MediaElement like this
Since you want to add a selector into the standard transport control and select the quality of a video, I think only editing the template is not enough.
To create a new class derived from MediaTransportControls:
For more information, please see Create custom transport controls and also the official Media transport controls sample in GitHub.