HTML and CSS Reference
In-Depth Information
Figure 5-1. Default video player controls in Firefox 4
The preload attribute allows you to suggest to the browser whether and how it should
download the video:
<video src="video.ogv" controls preload ></controls>
You can skip the attribute and let the browser decide, or give browsers a “hint” with
specific values (refer back to Recipe 4.1 , for details):
preload="auto" or, simply, preload
Fallback content
You should also make it standard practice to include fallback content with video :
<video src="video.ogv" controls>
Your device does not support HTML5 video. <a href="video.ogg">Download the
Learning to Love HTML5 introductory video</a>.
Search WWH ::

Custom Search