HTML and CSS Reference
In-Depth Information
Listing 3-23. Embedding a Video in HTML5
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,
<title>Exercise Video</title>
<video controls width="480" height="270" poster="media/poster.jpg">
<source src="media/video.mp4" type="video/mp4">
<source src="media/video.webm" type="video/webm">
Your browser does not support HTML5 Video, <a
href="media/video.mkv">click here
to download</a>
Save and export your video. Go to the file in your Android browser. The URL
should be http://<your computer ip address>/tutorials/video/media/ . You
should be presented with a screen similar to Figure 3-17.
Search WWH ::

Custom Search