Home >Web Front-end >HTML Tutorial >Video format issues in HTML5 video tag_html/css_WEB-ITnose

Video format issues in HTML5 video tag_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:12:101268browse

I have recently converted the video into MP4 files in H264-encoded video and AAC-encoded audio formats as required. The relative addresses are also correct, but there is a cross. But I can change the address to http://video-js.zencoder.com/oceans-clip.mp4. Why?

<video id="video1" controls="controls"   onmousemove="controller('video1','show');" onmouseout="controller('video1','close');" >        	        	<source src="dd.mp4"  type="video/mp4">            http://video-js.zencoder.com/oceans-clip.mp4            http://video-js.zencoder.com/oceans-clip.jpg    		Your brower doesn't support anvas tag.        </video>


Reply to discussion (solution)

html5 video format
http://baike.baidu.com/view /3637005.htm
Ogg = Ogg file with Thedora video encoding and Vorbis audio encoding
MPEG4 = MPEG 4 file with H.264 video encoding and AAC audio encoding





html5 video format
http://baike.baidu.com/view/3637005.htm
Ogg = with Thedora video encoding and Vorbis audio encoding Ogg file
MPEG4 = MPEG 4 file with H.264 video encoding and AAC audio encoding

Yes, I just converted the video to "MPEG4 = with H.264 video encoding and "AAC audio encoded MPEG 4 file" like this

What browser did you test it with

Try chrome

IE9 Chrome Firefox, used for video conversion is the format factory and vlc

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn