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!
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.
Wow, I feel stupid... Thanks!!
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?