播放本地 HTML 视频文件
一个项目有各种本地 HTML 和 HTML 文件。帮助页面的视频文件。我们需要能够将这些视频嵌入 HTML 页面 - 但由于所有视频都是本地文件,因此我们没有服务器端流式传输。
我还可以只使用 SWFObject 吗?是否还有其他众所周知的控件可以让我们播放 .mp4、.swf/flv、.wmv 文件?
该解决方案针对跨 Chrome、FF 和 IE 的 HTML4(我不知道是否需要 IE6)。
A project has various local HTML & video files for help pages. We need to be able to embed these videos in HTML pages - but because all are local files we have no server-side streaming.
Can I still just use SWFObject? Are there other well-known controls that will let us play .mp4, .swf/flv, .wmv files?
This solution is targeting HTML4 across Chrome, FF and IE (I don't know if IE6 is needed).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
SWF 可以再现不同的视频格式(FLV、F4V、H.264),尽管您需要一个处理视频再现的组件。
对于简单的再现,您不需要流媒体服务器。
有多种不同的视频播放器可供使用,这些播放器具有开源、免费软件或商业许可证。
您可以检查一下,都是开源的:
SWF can reproduce different video formats (FLV, F4V, H.264, although you need a component that handles the reproduction of the video.
For simple reproduction, you don't need a streaming server.
There are different video players available, with open source, freeware or commercial license.
You can check, both Open source:
FLVPlayback 组件将从托管页面的同一 Web 服务器播放 FLV 视频。您不需要专用的媒体服务器来执行此操作,除非您需要更高级的流媒体和/或交互功能。
The FLVPlayback component will play FLV video from the same web server the page is hosted on. You don't need a dedicated media server to do that, unless you need more advanced streaming and/or interactive features.