本文介绍了如何使用Html在Visual Studio 2005中添加视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要紧急的答案......请我在我的网站上添加一个视频,该视频在visual studio 2005中创建

< video autoplay poster =id =bgvid loop>

< source src =video / The Dark Knight HD 1080p Trailer.webmtype =video / webm/>

< source src =视频/神奇蜘蛛侠2 - 国际预告片[高清] .mp4类型=视频/ mp4/>

< / video>

我正在使用它,但它不起作用

i need urgent ans....please i'm trying to add a video in my website which is created in visual studio 2005
<video autoplay poster="" id="bgvid" loop>
<source src="video/The Dark Knight HD 1080p Trailer.webm" type="video/webm" />
<source src="video/The Amazing Spider-Man 2 - International Trailer [HD].mp4" type="video/mp4" />
</video>
i'm using this but it is not working

推荐答案

<video width="320" height="240" autoplay>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>





HTML视频 - 浏览器支持

目前,有3种支持的视频格式用于&放大器;放大器; lt;视频&安培;放大器;放大器; GT;元素:MP4,WebM和Ogg:



浏览器MP4 WebM Ogg

Internet Explorer是否否

Chrome是YES YES

Firefox是是是

Safari是否NO

Opera YES(来自Opera 25)YES YES



HTML Video - Browser Support
Currently, there are 3 supported video formats for the &amp;amp;lt;video&amp;amp;gt; element: MP4, WebM, and Ogg:

Browser MP4 WebM Ogg
Internet Explorer YES NO NO
Chrome YES YES YES
Firefox YES YES YES
Safari YES NO NO
Opera YES (from Opera 25) YES YES


这篇关于如何使用Html在Visual Studio 2005中添加视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 08:30