From the course: Developing UWP Apps: 6 Multimedia and Printing
Unlock this course with a free trial
Join today to access over 22,400 courses taught by industry experts.
The transport controls
From the course: Developing UWP Apps: 6 Multimedia and Printing
The transport controls
- [Instructor] So we've seen these transport controls that are available with media elements couple of times in this series. We took a quick look at em in the advanced control session. We took a look at the capabilities earlier in this session, but one cool aspect of building UWP apps using the Media Player and Media Player element is the ability to customize the transport controls. So out of the box the controls are really designed to work well without any modification, but we could, for example, change the ordering of these buttons, we could hide buttons, but another cool thing we could do is add buttons. So we could add a like button into a video and have code behind that would increment likes for given images or videos, or, an example that I like, we could add a share button that shares it specifically to a source, like we could have a share to Twitter button or share to LinkedIn, or to Facebook. It's extremely easy to do this. All we have to do is just override the on apply…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.