Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UWP - MediaPlayerElement vs MediaElement

Tags:

c#

xaml

uwp

MediaPlayerElement is replacement for "old" MediaElement. My question is Why?

What is the difference between MediaPlayerElement and MediaElement ?

like image 382
Alamakanambra Avatar asked Jun 23 '17 22:06

Alamakanambra


1 Answers

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

  1. Streams
  2. StorageFiles
  3. Uri

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 .

like image 143
Muhammad Touseef Avatar answered Oct 23 '22 00:10

Muhammad Touseef