从网页流式传输 .asf 视频(HTML 中的嵌入式播放器)
我的网页需要有支持 .asf 格式的视频播放器。我的 .asf 文件有 2 个视频流。
Windows 媒体播放器对此效果很好。这是我的示例:http://weblectures.yolasite.com/
以及打开上面链接的场景:
- Chrome ,在 Ubuntu 中,它不起作用,或者只有一个视频流将启动
- IE,在 Windows 7 中,它不起作用
- Chrome,在 Windows 7 中它起作用(两个视频流都是流式传输)
我的最终目标是用户/客户端以最小的努力从我的网页流式传输视频。我不希望用户必须继续 JW Player下载并安装它,这样他就可以播放我的视频。
而且它还必须适用于所有平台(Windows、Ubuntu、MAC OS X)。
问题(它类似于这个问题,但我必须玩 .asf 有 2 个视频流。
- 是 HTML5 解决方案吗?
- 我发现 Ubuntu 有 .asf 问题,有没有办法在 Ubuntu 中播放它
- ? “玩家?
I need for my web page to have video player that supports .asf format. My .asf files have 2 video streams.
Windows media player works fine for this. Here is my example: http://weblectures.yolasite.com/
and scenarios of opening link above:
- Chrome, in Ubuntu, it won't work or just one video stream will start
- IE, in Windows 7, it won't work
- Chrome, in Windows 7 it works (both video streams are streaming)
My ultimate goal is that user/client has to do minimal effort to stream a video from my web page. I don't want for e.g. that user has to go on JW Player and downlad it and then install it so he could stream my videos.
And also it has to work on all platforms (Windows, Ubuntu, MAC OS X).
Questions (it is similar to this question but I have to play .asf that has 2 video streams.
- Is HTML5 solution?
- I've seen that Ubuntu has problems with .asf, is there a way to play it in Ubuntu?
- Is there some "universal" player?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于 ASF/WMV,您现在唯一的跨平台选择可能是 Silverlight。 Microsoft 表示他们支持 HTML 5 的唯一编解码器是 MP4。
Silverlight 可在 IE、Firefox、Chrome 和 PC/MAC 上运行。我不太清楚 Silverlight 的 Unix 实现 Moonlight 的当前状态,但是这个那里也可能是一个选择。
Silverlight 有多个开源媒体播放器:
编辑 Moonlight 信息:
Moonlight 由 Novell 于与 Microsoft 合作,为 Novell 提供测试套件、规范、开源代码和媒体编解码器,为 Unix 系统创建完全开源的Silverlight 兼容实现。
Microsoft 向 Moonlight 1.0 和 2.0 用户提供对许可媒体编解码器(MP3、WMV、VC-1)的访问。当您第一次访问需要这些编解码器的网站时,Moonlight 将提示您从 Microsoft 下载编解码器并将其安装在您的系统上。
For ASF/WMV your only cross-platform option right now is probably Silverlight. Microsoft has stated that the only codec they are going to support for HTML 5 is MP4.
Silverlight works in IE, Firefox, Chrome and on PC/MAC's. I don't know exactly about the current state of Moonlight, the Unix implementation of Silverlight, but this might be an option there as well.
There are several open source media players for Silverlight:
Edit for Moonlight info:
Moonlight was built by Novell in collaboration with Microsoft which provided Novell with test suites, specifications, open source code and Media Codecs to create an entirely open sourced Silverlight-compatible implementation for Unix systems.
Access to licensed Media Codecs (MP3, WMV, VC-1) is provided by Microsoft to Moonlight 1.0 and 2.0 users. The first time that you access a web site that requires these codecs, Moonlight will prompt you to download the codecs from Microsoft and install those on your system.