HTML and CSS Reference
In-Depth Information
Figure 8.2. Basic HTML5 video player in Chrome
The next listing shows all of the code required to display the video in
figure 8.2
. As you
can see, it's not complicated. Insert this code in place of the first comment in
listing 8.1
,
and refresh the page to reproduce
figure 8.2
.
Listing 8.2. index.html—Embed a video