Hello, do the following:
Modify Default.html, so that all script reference refers to the Silverlight folder, such as:
<script type='text/javascript' src="Silverlight/MicrosoftAjax.js"></script>
Modify StartPlayer.js, so that the source parameter passed to createObjectEx will refer to the correct XAML file:
Silverlight.createObjectEx( { source: 'Silverlight/player.xaml',
If you've put the video file to another folder, also modify get_mediainfor function:
function get_mediainfo(mediainfoIndex) {switch (mediainfoIndex) {
case 0:
return { "mediaUrl": "yourfolder/test.wmv",
The essential idea is: All paths are relative to the html file.
shanaolanxing - Please mark the posts as answers if they help and unmark if they don't.