Join Scott Peterson for an in-depth discussion in this video Audio playback, part of Developing UWP Apps: 6 Multimedia and Printing.
- In the past, one of the more challenging aspects of integrating audio into an app was exposing controls to a user that would respond well, were standardized, and could work across devices in a reasonable way. Universal Windows Platform provides a simple, clean, and powerful method of playing audio and video by using the Media Element Control. Now, the Media Element Control has been around for quite a while. But in the Universal Windows Platform, there are a number of enhancements including the addition of the new Media Player Element, as well as the Media Element, and the ability to new up Media Elements without actually having to attach them to XAML.
This has been a big complaint for developers over the years, is this idea that the platform would force them to embed a UI element into XAML, when all they simply wanted to do was to play an audio file. This is no longer the case with UWP Development. And again, another cool thing about the Media Element is that these files do not have to exist in your app, or even on the local system. We can pull things in from YouTube, from external locations, from network or even cloud storage, like in Azure Blob storage. We can simply reference these elements, and they will just play well, stream well, perform well using the Media Element control.
Note: This course was created by Wintellect. We are pleased to host this training in our library.