视频到没有插件的网站 [英] Video onto a website without plugins

查看:141
本文介绍了视频到没有插件的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在阅读了关于MP4和.ogv文件转换和各种视频播放器之后,我真的很困惑 - 我已经看到,HTML5可以用来做这个。我在网络上的技能是有限的,所以任何帮助将是伟大的。



我有一个我想嵌入到网站上的视频文件 - 它需要在IE和Safari上都可以看到,如果可能的话,用户无需安装插件。我需要做什么来完成这个/有没有办法?



任何见解/链接都将非常感激。



谢谢!

解决方案

您可以使用HTML5来实现这一点,但是您需要为不同的浏览器提供不同格式的视频。我还建议对不支持视频元素的旧版浏览器进行Flash回退。



这里是一个有Flash背光的HTML5视频的快速指南。



您还可以尝试查看 videojs ,这似乎为你做大部分工作。


After reading about MP4 and .ogv file conversions and all manner of video players, i'm really confused - I have read that HTML5 can be used to do this. My skills on the web are limited so any help would be great.

I have a video file that I want to embed onto a website - it needs to be viewable on both IE and Safari and if possible WITHOUT the user needing to install plugins. What do I need to do to complete this / is there a way?

Any insights / links would be really appreciated.

Thanks!

解决方案

You can use HTML5 to achieve this, but you need to have the video in different formats for different browsers. I also suggest having a flash fallback for older browsers that don't support the video element.

Here is a quick guide on HTML5 video with a flash fallback.

You could also try looking into videojs, which seems to do most of the work for you.

这篇关于视频到没有插件的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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