HTML and CSS Reference
In-Depth Information
Figure 11-2 How the About page appears if the user's browser does not support HTML5 video.
In this section, you add a poster image to the video on the About page.
The code in this exercise can be found in folder 4.
Follow these steps to add a poster image:
1. First, download the poster.png file from the topic's website and place it in your img folder. You can
find this file in the chapter11/4/img folder of the download files.
2. Open the about.html file in your text editor.
3. Add a poster attribute to your <video> element and set its value to img/poster.png .
Search WWH ::




Custom Search