Media Element Source
-
Friday, July 08, 2011 11:54 AM
Hi, I'm new to Silverlight programming and I've been trying to put a video in my application. I made a mediaElement Control but I couldn't figure out how to choose the source. Please help me!
All Replies
-
Friday, July 08, 2011 11:59 AM
MediaElement has a Source property that you can set in XAML. The video will need to be a resource in the project.
<MediaElement Source="test.wmv" />
You can also using WebClient to pull the source from outside of the xap.http://forums.silverlight.net/forums/p/160841/362549.aspx
-
Friday, July 08, 2011 12:02 PM
Wow, I feel stupid... Thanks!!


