Video formatCurrently, the video element supports three types of videos:
format
IE
Firefox
Opera
Chrome
Safari
Ogg
No
3.5+
10.5+
5.0+
No
MPEG 4
9.0+
No
No
5.0+
3.0+
WebM
No
4.0+
10.6+
6.0+
No
OGG = Ogg file with Theora video encoding and Vorbis audio encodingMPEG4 = MPEG 4 file with
Free to practice practiced hand, materials from the "Html5+css3+jquery application of the United States"The book is too long-winded, the code used to do an effect,Demo downloadRelatively simple, don't wordy, stick to the main code and jquery. Banner{width:728px;Height:176px;Display:Block;margin:40px Auto;Border:1px solid #333;position:relative;background:URL (.. /images/banner-arrow.png) 20px 190px no-repeat, url (.. /images/banner-photo.png) -10px 190px no-repeat, url (.. /images/banner-09.png)
("checkVideoResult"). innerHTML = "Yes! Full support! ";}Else{Document. getElementById ("checkVideoResult"). innerHTML = "Well. Some support .";}}}Else{Document. getElementById ("checkVideoResult"). innerHTML = "Sorry. No video support ."}}The Code is as follows:CanPlayType method description:1. Definition: checks whether the browser can play the specified audio/video type.2. Return Value:"Probably" indicates that the browser is most likely to support this video or audio."Maybe" indicates that
Comments: Most videos are displayed through plug-ins (such as Flash. However, not all browsers have the same plug-ins. HTML5 stipulates a standard method to include videos through video elements. You can use this method to play a video today, most videos are displayed through plug-ins (such as Flash. However, not all browsers have the same plug-ins.HTML5 specifies a standard method to include videos through video elements.In HTML5, the video element currently supports three formats of video file
On2 VP6 (The table below comes from abandoning FLV to meet MP4-making H.264 video formats supported by Flash Player), These two formats are certainly not supported by H5.
Therefore, a considerable process is required to convert a large amount of existing video data into MP4. video websites may have considered this process for a long time, temporarily put the job on hold (or the job is running smoothly ).
For example, YouTube has switched all its Videos to
elementary Stream file". mkv" = a Matroska audio+video+ (optional) subtitles file". mp3" = a MPEG-1 or 2 Audio file". mpg" = a MPEG-1 or 2 program Stream (audio+video) file". ogg" or ". Ogv" or ". Opus" = "an ogg audio and/or video file". ts" = + a MPEG Transport Stream file(a ". TSX" index FILE-IF present-provides server ' trick play ' support)". VOB" = a VOB (MPEG-2 video with AC-3 audio) file". wav" = = a wav Audio file". WebM" = a
(myvideo.paused) Myvideo.play ();Elsemyvideo.pause ();}/*zoom in, set your own size, take care not to add PX*/functionMakebig () {myvideo.width= the; } functionMakesmall () {myvideo.width= the; } functionMakenormal () {myvideo.width=420; } Script> Body> HTML>View CodeControls property to add a play, pause, volume control. The content inserted under the video tag is displayed for browsers that do not support video .src= "/i/movie.ogg" width= "" " height=" controls= "Controls">The example uses a
should be placed on the page separately. I suggest that the length of the video should be between 12-30 SECONDS.
bandwidth is a big problem . The volume of the video should be very small and compress as much as Possible. At the same time, it needs to automatically adapt to the screen size on different size devices. If possible, you should use JavaScript to control the loading of background video at different resolutions for different screen Sizes. Background video preferably less than 5M,
audio effectsB). Support for new media formats (Vp8 open video compression format and the webm open container format)C). Access to multiple cameras
3. new platform technologies (1 ). media framework ). New Media framework fully replaces opencore (major benefit) B ). integrated Support for Vp8 and webm C ). AAC encoding; AMR wideband encoding (2) Linux kernel 2.6.35 (3) Networking ). SIP stack,
The development of a document management system for the intelligent development platform of the Tian Longitudinal Intelligence Development platform to use the document reading series tools, the following describes the function of this set of tools and how to use.Tian Longitudinal Intelligent Development Platform document Reading series tools include "1-office reader/2-browser/3-HTML5 player/4-Universal player/5-pdf Reader/6-flash Reader" Six, for reading documents in various file formats. Used t
vulnerability will be a very effective way to escalate permissions. Many kernel vulnerabilities expose the entire process of program running to attackers through system calls. There are often too many system calls that are not necessary for program running, attackers can exploit these calls to launch vulnerability attacks.
Seccomp filtering is a Linux kernel calling mechanism provided by Oz that can reduce kernel-level attacks. It can be filtered by limiting the number of processes called by th
Original http://www.cnblogs.com/zsz417/archive/2011/10/18/2216442.html
Previously, we added support for MP4 and other file types in the configuration of a site. After reinstalling the system, we found thatCodeAn error is reported. The error content is the title. The details are as follows:
The problem is that you need to add these settings to each machine, which is not conducive to team collaboration. Therefore, you have to embody these changes in the Code. The specific imple
It has been nine months since the first beta version of Firefox 4, but it is not smooth. A RC2 version was released two days ago. Fortunately, there is no suspense in the official version. Although the official version of Firefox 4 has not been officially released, you can download it through FTP.
Firefox 4 brings us a new interface, faster startup time, support for 3D animation, HTML5, webm, css3, SVG, hardware acceleration, and improved JavaScript
In the Linux server,/directory to establish the upload directory, uploaded files should not be called, only support the site root directory, does not support the server root directory.
Call a file, can also, with the include "/xxx.php", it can be called, no garbled.
Include "/xxx.gif"; a bunch of garbled characters.
/////////////////////////////////////////////
Can't play!
Your browser is out and HTML5 video is not supported.
Internet Explorer does
radius of the circle var gradient2 = context. creatradialgradient (sx, Sy, Sr, dx, Dy, Dr); // Add colors and linearity
2. Form2.1 type = Number
The HTML form element of type = number can be used to change the value in the text box by pressing a key.
Number of students:
2.2 type = range
Type = range indicates the range of regions where a value can be selected.
2.3 type = data and other time controls
Type = data indicates the time selector control.
Select Date:
2.4 type = color
Type = colo
usual), and because of this powerful feature of this API, users must explicitly choose to use it to share their own screens. Once the user explicitly chooses to use this feature, the system will explicitly indicate that they are on the shared screen.Now that you have a screen stream that can be stored locally, you can also transfer it to an external location via WEBRTC.With Mediarecorder, you can record your screen locally, as I did in the WebGL recording snippet. I also created a simple demo t
Android Digital Video:formats, concepts and optimization Android digital Video formats:mpeg4 H. and WebM VP8h.263 support for older displaysMPEG4 SPSupported for commercial video (support for commercial videos)3GPGoogle adds support for WEBM in 2.3.3Version number after video Stream 4.0Recommend using MPEG-4-H-AVCWebM Live stream Android Videoview and MediaPlayer class:video PlayersMediaPlayer: In the pa
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.