无法直接链接到 WMV 视频文件
我有一个在 SharePoint 中托管的 wmv 视频。我创建了一个包含一些自定义内容的内容编辑器 Web 部件,并放置了一个指向视频 点击查看
。
这里确实没有什么特别的事情发生。某些用户可以单击链接,然后视频会在默认视频播放器中打开。其他用户会看到一系列不同的错误/提示。系统会提示某些用户输入网络凭据,而其他用户则会收到通用的“Internet Explorer 无法显示网页”。
如果我创建通用 HTML 网页(在 SharePoint 之外)并让用户尝试启动视频,也会出现同样的问题。
我正在尝试避免将视频嵌入 HTML 中,而只是让用户直接链接到视频本身。
有人遇到过这个问题吗?您对实现此功能有什么建议吗?
I have a wmv video hosted in SharePoint. I've created a Content Editor web part with a bit of custom content and I've placed a simple link to the video <a href="http://mysite/video.wmv" target="_blank">
Click to view</a>
.
There is really nothing special going on here. Some users can click on the link and the video opens in their default video player. Other users see a range of different errors/prompts. Some users are prompted for their network credentials and others receive a generic "Internet Explorer cannot display the webpage.
The same problems occur if I create a generic HTML web page (outside of SharePoint) and have users try to launch the video.
I am trying to avoid embedding the video in the HTML and just have users link directly to the video itself.
Has anyone encountered this issue and do you have any suggestions for making this work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这似乎是浏览器问题和文件安全问题的结合。
人们被要求提供网络凭据,因为文件本身不是“公开的”;它需要身份验证才能读取,或者从您的描述来看似乎是这样做的。尝试验证文件时,不同的浏览器将显示不同的消息。
此外,浏览器的默认播放器可能未设置,或者浏览器可能不允许传递给第三方程序,这两种情况都会为不同的浏览器生成不同的消息。 对于热链接视频来说,这始终是一个问题,除了使用所有消费浏览器都必须安装的一些有保证的播放平台(例如 Flash 或 Silverlight)之外,您对此无能为力。这本身就会带来问题,但这就是网络世界的本质。
This appears to be a combination of browser issues and file security.
People are being asked for their network credentials because the file itself is not "public"; it requires authentication to be read, or appears to do so from your description. Different browsers will display different messages when attempting to authenticate for the file.
Additionally, the default player for a browser may not be set or the browser may not allow passoff to third party programs, both of which will generate different messages for different browsers. This will always be an issue for hot-linked videos, and there's nothing you can do about it except use some guaranteed playback platform that all consuming browsers must have installed, such as Flash or Silverlight. That comes with issues all on its own, but such is the nature of the online world.