silverlight从不同的服务器拉wmv [英] silverlight pulling wmv from different server

查看:93
本文介绍了silverlight从不同的服务器拉wmv的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一次,我读过一篇文章,说可以在启用了Windows Media Services的Web服务器上托管wmv视频文件(Windows 2003),并且在不同的服务器上使用silverlight(但是相同)域名)播放该视频。因此与MAC平台兼容
。坏消息是,我在书签上找不到那篇文章。这可能吗,有人可以分享一些指针??


 


 

解决方案

您的问题涉及几个问题。


1)跨域访问 - 在包含服务器的其他服务器上托管Silverlight播放器应用程序媒体文件(WMV)。 将应用程序和内容交付网络和服务器分开是很常见的。  您需要在此处执行的最基本的
操作是启用服务器之间的跨域访问。 以下链接指向如何执行此操作:
http: //msdn.microsoft.com/en-us/library/cc197955(VS.95).aspx  


2)PC / MAC兼容性 - Silverlight 3 4运行时负责这个问题 - 所以这不是问题 - 这让我觉得你可能实际上一直在询问iPhone / iPad的兼容性 - 服务器端插件有一个测试版可用
支持使用服务器上的平滑流数据的iPhone / iPad Apple Streaming请求。  更多信息:

http://blogs.iis.net/johndeu/archive/2010/06/10/ IIS-媒体的服务-4-β-1-_2D00_-编码一次和 - 提供到三屏-跨多个文件的格式和 - protocols.aspx
功能


at one point i've read an article that says it's possible to have a wmv video file hosted on a Web server with Windows Media Services enabled(Windows 2003), and have silverlight on a different server(but same domain) play that video. Hence becoming compatible with MAC platform. The bad news is, i can't find that article on my bookmark. Is this possible, can someone share some pointer??

 

 

解决方案

Your question touches on several issues.

1) Cross-Domain access -- Hosting the Silverlight player application on a different server that the server containing the media files (WMV).  It is common to separate application and content delivery networks and servers.   The most basic thing you need to do here is to enable cross-domain access between the servers.  Here is a link to some information on how to do that: http://msdn.microsoft.com/en-us/library/cc197955(VS.95).aspx 

2) PC / MAC compatiblity -- The Silverlight 3 and 4 runtime takes care of this issue -- so it isn't an issue -- which makes me think that you might have actually been asking about iPhone / iPad compatiblity -- The server side plugin has a beta version availble that supports iPhone / iPad Apple Streaming requests using Smooth Streaming data on the server.   More Info here: http://blogs.iis.net/johndeu/archive/2010/06/10/IIS-Media-Services-4-Beta-1-_2D00_-Encode-once-and-deliver-to-three-screens-across-multiple-file-formats-and-protocols.aspx 


这篇关于silverlight从不同的服务器拉wmv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆