本文介绍了UWP-MediaPlayerElement与MediaElement的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
MediaPlayerElement 替代旧" MediaElement .我的问题是为什么?
MediaPlayerElement is replacement for "old" MediaElement.My question is Why?
MediaPlayerElement
和 MediaElement
有什么区别?
推荐答案
Media Player元素以 MediaSource 类的形式使用Media Playback Source,该类具有许多方法,因此可以通过多种方式提供媒体来源
Media Player element uses Media Playback Source in form of MediaSource class which has many methods so it can provide media source by several ways like
- 流
- StorageFiles
- 乌里
,还有更多.它也可以在任何XAML曲面(例如网格或按钮)上呈现.这些是Media Player元素的主要升级,但是您可以详细了解所有功能此处.
and some more as well.It can also be rendered on any XAML surface like a grid or a button. these are main upgrades in Media Player element but you can read in detail about all features here .
这篇关于UWP-MediaPlayerElement与MediaElement的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!