Silverlight 3 MediaElement class demo (CSSL3MediaElement)

This code sample illustrates the basic usage of MediaElement in Silverlight 3. A MediaElement object is a rectangular region that can display video on its surface or play audio.

C# (78.7 KB)
12,552 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • media source file as a parameter
    1 Posts | Last post February 22, 2012
    • How do I or can I have a media file as a parameter to the control. It seems to me that the media file is hardwired to the control rather than a parameter that can be changed in code or dynamically. I'm going to have a list of videos that will link to a video page with this control but I need to feed the control the video file.
  • This code does not work - Used Silverlight4
    1 Posts | Last post July 23, 2011
    • I downloaled the source code and opened the project in Visual Studio 2010. I upgraded the project to Silverlight 4 and then when I ran the project it crashes.
      Am I missing something?