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!
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.
Friday, July 08, 2011 12:02 PM
Wow, I feel stupid... Thanks!!