开发者

Play video from webserver

Greeting, I'm creating a video player with silverlight 4 a开发者_开发问答nd C#. the player is working fine when I set the path for the target folder using this line of code.

string FolderPath = this.Context.ApplicationInstance.Server.MapPath(@"~\Video\");

Now I want to place in C:\inetpub\wwwroot and I want to use the IP address of my IIS instead of the folder place. please advice how to modify this line of code to target my IIS.

Thank you,


I think you need to make sure things are set up to stream via http v.s. file. This resource might help.

http://timheuer.com/blog/archive/2008/05/06/streaming-media-in-silverlight.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜