Dear ahlcm
To resolve your doubts, please follow the steps I provided below:
1.Modify the Xaml code of MediaElement control.
Please focus on the value of Source property of MediaElement control.
Do'nt forget the forward slash.You can refer to the Xaml code I listed below.
<MediaElement AutoPlay="False" MediaOpened="PlayMedia_MediaOpened"
CurrentStateChanged="PlayMedia_CurrentStateChanged"
x:Name="PlayMedia" Width="400" Source="/Bear.wmv" Margin="0,0,0,94"/>
The hierarchical of the files in my demo project is like the image left.
2.Change the attributes of the media file
Please change the setting value of "Building Actions" property of Bear.wmv to "Content".
3.Rebuild the project.
4.Rerun the test apsx or html.