Video onto a website without plugins

大兔子大兔子 提交于 2020-01-06 07:53:46

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/8056289/video-onto-a-website-without-plugins

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!