XAML media playback sample

This sample demonstrates how to use the MediaElement control to play back audio and video in Windows Store apps built using C++ or C# with Extensible Application Markup Language (XAML).

 
 
 
 
 
4.1 Star
(9)
21,588 times
Add to favorites
11/26/2013
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • How to Embed this media player in my Store App Project
    1 Posts | Last post March 10, 2016
    • Hi, i want to embed this media player in my Store App project. is there anyway to  get media player source of media player which i can embed in my project.......... 
  • How to Embed this media player in my Store App Project
    1 Posts | Last post March 10, 2016
    • Hi, i want to embed this media player in my Store App project. is there anyway to  get media player source of media player which i can embed in my project.......... 
  • How to Embed this media player in my Store App Project
    1 Posts | Last post March 10, 2016
    • Hi, i want to embed this media player in my Store App project. is there anyway to  get media player source of media player which i can embed in my project.......... 
  • What is difference in code, between this and a WPF application?
    1 Posts | Last post July 20, 2015
    • I have been working on a simple WPF application media player and stumbled into this awesome project, problem is, i want to take what i can from this w8 metro app and put it into my WPF application (controls, playback button functionality) so my question is if there is a way to take the code from XAML media playback sample into --> WPF application because i dont like the metro apps/look, i prefer WPF application code. thanks!
  • This app failed
    1 Posts | Last post January 21, 2013
    • I dowloaded this app and run it i Local Machine and on selecting a .mp4 file, it gave no response..
      
  • Silence or COM Error
    2 Posts | Last post November 10, 2012
    • When I try this example, either nothing happens or I get an error:
      
      System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
      
      Any suggestions?
    • I guess that wasn't really clear.  The problem occurs when the file.OpenAsync() command is executed.
  • is it possible to play playlists\Streams
    3 Posts | Last post September 27, 2012
    • Hi,
      
      I want to play playlists like .pls\.asx that are streaming over internet.
      
      How can I do that?
      
      I tried setting the source of the MediaPlayer with the URI pointing to the .pls\.asx files but it fails to play.
      .Asx file URI works in WMP without any issue!!
      
      I'm I missing anything.
      
      Appreciate any input on this.
    • Hi Exploring Win8, did you work this out? I am trying to do the same thing...
      
      Cheers
      Dean
    • Hi,
      I've found a solution to this problem. Try to open the asx file with a simple text editor. You will find a mms:// uri in there, the titel, a description, and an url to a banner. If you set the mms:// address as a source for the media element, the stream will play just fine :D
      
      Rgds,
      
      Fredrik
  • Did anyone get to see the rewind working for them?
    1 Posts | Last post June 12, 2012
    • The rewind functionality implemented in the sample does not work. The Forward function works pretty much as expected.
      
      Alternatively, i have tried using HTML5 audio tags to play, forward and rewind. The problem with rewind remains with HTML5 too.
      
      Is there exists other way to use rewind (reverse playback) functionality?
  • cannot play asx files
    1 Posts | Last post March 13, 2012
    • can't play asx files. Please suggest