Video Loading Problem
Last post 05-03-2008 4:18 AM by swildermuth. 1 replies.
Sort Posts:
05-02-2008 9:55 AM
Video Loading Problem

Hi,

We are developing a website using SL 2.0. I have problem loading video's into my application from a remote location say from http website. Of course i'm using Media Element Control to load the video.

The funny thing is, when i'm testing the solution from Blend, the remotely located video is getting loaded BUT when i'm testing the same solution from Visual Studio 2008 the video is NOT getting loaded. Even images are not getting loaded from remote location.

Does anybody has an idea where and what the problem is?

Any help is greatly greatly appreciated.

Thanks in Advance

P.Arun Solomon
www.melity.com

Arun Solomon

Joined on 09-20-2007
Hyderabad, India
Posts 29
05-03-2008 4:18 AM
Marked as Answer
Re: Video Loading Problem

This is often caused by Visual Studio setting the Silverlight App as the current project (and then it uses a temporary .html page to show the Silverlight app).  The problem is that this way its using a FILE protocol which isn't allowed for downloading video.  To make sure this is the case, test in VS and check the URL that is being launched, if it doesn;t start with http, then its the FILE based protocol. 

 To fix this, make sure the Web Project is the active startup application in VS.

(If this has answered your question, please "Mark as Answer")

Shawn Wildermuth
C# MVP, MCSD, Speaker and Author

Silverlight 2 Workshop
May 12-14, 2008 - Atlanta, GA
May 28-30, 2008 - San Francisco, CA
http://www.silverlight-tour.com

swildermuth

Joined on 10-13-2003
Atlanta, GA
Posts 1,058