Navigation
[New tag layout for HTML5] layout my blog page with HTML5!
[Form tag of HTML5 preliminary study] Release form verification, add file upload, and integrate drag-and-drop
[HTML5 preliminary study: Drawing Images (I)] view the Canvas Element leading the next generation of web pages
[Image Rendering in HTML5 (bottom)] Let's look at the Canvas Element to lead the next generation of web pages.
[Multimedia element of HTML5 preliminary study] Who is the king of HTML5 and Flash video playback?
[Study of HTML5 Local Storage] If there is no database...
[Online Application of HTML5] How to create websites with zero requests and no traffic?
[Communication API of HTML5 preliminary study] The Cross-origin threshold is no longer high, and data push is not a dream
[HTML5 preliminary study: Web workers] web pages can also be Multithreading
[Geolocation API of HTML5 preliminary study] Let's go back to geographic information
Preface
As a programmer, this is a shame. But let me talk about it. I don't know what happened to my ie 9 browser any day, so I can't play the video normally.
Every time I say that the flash version is too low, it cannot be reinstalled .... It hasn't been solved yet. Well, it's a bit embarrassing.
Looking back, I will be suffering from the pain of the differences between browsers, but it is even more irritating to the old man if he cannot see beautiful women on the webpage !!!
In general, Flash is really King! It is indeed Wang Dao, which has never been used for a long time. Now it is very expensive to recruit people, although I do not know anything about it.
The emergence of video and audio in HTML is no stranger to these two elements, because I have used them for a long time, and he can solve some problems caused by flash,
However, it is too early to replace what we want to do. I also hope that when ie11 is approaching, at least Internet Explorer 9 will be used on the computer, and various HTML5 websites will emerge one after another.
Video Playback
This chapter has very little content and has no difficulty. It can be quickly introduced here:
Video and audio both have the following methods: Play play media element pause media element load reload play canplaytype check whether the browser supports media type events: the loadstart browser starts searching for media data on the Internet. Progress is retrieving data. Suspend is paused. However, the download process does not normally end, but it is not because of an error. An error occurred while obtaining the data. Emptied loading error occurs. Or, when the browser selects the playback format, it calls the load method to re-load the data to the stalled browser and tries to obtain the media data. Play: when the play method is executed triggered (to be played soon) pause is triggered when the pause method is executed ...... there are too many data records. You can check the information later.
Video Playback
1 <! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> 2 <HTML xmlns =" http://www.w3.org/1999/xhtml "> 3
The strange thing is that only Google can do it, but nothing else !!!
"Video/MP4" in HTTP "Content-Type" is not supported. Media resources
Http: // localhost: 3317/HTML5% E4 % B8 % 8ecss3/04% E5 % A4 % 9A % E5 % Aa % 92% E4 % BD % 93% E6 % 92% ad % E6 % 94% be/tianzui.mp4 loading failed.
It is said that this operation...
<video width="320" height="240" controls="controls"> <source src="a.ogg" type="video/ogg"> <source src="a.mp4" type="video/mp4"> your browser does not support the video tag. </video>
Conclusion
There is nothing to say in this chapter. You can query the materials when you want to use them.