Types

100% Complete (success)

<video poster="#" width="..." height="..." preload controls >
<source src="#" type="" / >
</video>

Use the type="" attribute to tell the browser what format the video is in. (i.e. video/H264, video/mp4) Otherwise, it will download some of the video to see if it can play the file, find that it cannot, and then try the next one until it has exhausted all options or found a valid file format. (This takes time and bandwidth!)

The codec that was used to encode the video is supplied within the type attribute, following the video file type, separated by a semicolon (;). For example, type='video/mp4;codecs="avc1.42E01E, mp4a.40.2"'.

NOTE: The use of double and single quotes to delineate.