locked
Error 4001 in added Silverlight video RRS feed

  • Question

  •  Hi all,

    I have a silverlight video included in an HTML page which was created by Expression Web 3.
    Everything is fine as long as I open the file manually and play the video. But if an anchor on the page is targeted by a hyperlink somewhere else, clicking that hyperlink navigates the browser to that anchor and the page loads, but the video doesn't play.

    After some research I realized Silverlight uses the address of the page to locate the video file, and since the address contains the anchor name as in "http://test.com/folder/page.htm#anchor", Silverlight is unable to find the video since it considers the #anchor section to be part of the address. Consequently, the following error message is shown in the Silverlight video player:

    "Could not open media file 'http://test.com/mymedia.mp4#anchor' 4001 an error has occurred."

    How do I fix this?

    Friday, November 20, 2009 2:01 AM

Answers

  • Hi,

    I cannot reproduce this issue. I saw the encoder generate xap file as output, then you cannot hack into it to correct the issue. You may create player by yourself or use 3rd party control

    http://slvideoplayer.codeplex.com/

    Thanks,

    Monday, November 23, 2009 5:52 AM