Flash 视频播放器问题
我们正在使用 Flash 视频播放器。我们将 xml URL 作为 Flashvars 传递,其中包含要在该播放器中播放的 flv 视频的路径。当我们上传到测试服务器时,这工作得很好。但是我们有一个通过IP地址访问的开发服务器。每当任何 IP 地址 xml URL 发送到 Flash 时,它都不会播放视频。
对此有什么想法吗?
似乎是一个非常奇怪的问题
当我们使用domain_name/video_player时,它工作正常并且xml文件正在加载
但是当我们使用ip_address_of_domain/video_player时,XML没有加载似乎真的很奇怪
We are using a flash video player. In that we are passing an xml URL as Flashvars which contains the path of the flv video to be played in that player. This works fine when we are uploading to the test server. But we have a development sever which is accessed by an ip address. Whenever any ip address xml URL is sent to the flash, it is not playing the video.
Any thoughts on this?
Seems to be very strange issue
When we use domain_name/video_player it is working fine and xml file is loading
But when we use ip_address_of_domain/video_player, XML is not loading Seems to be really strange
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这很可能是跨域问题。您遇到任何错误吗?您是否设置了 cross-domain.xml?如果您的服务器上可以使用 php,您还可以使用代理来解决跨域问题(如果是这种情况)。
It's likely a cross-domain issue. Are you getting any errors? Do you have a cross-domain.xml set up? If php is a possibility on your server, you could also use a proxy to get around the cross-domain issues (if that is the case).