Question: Figure 8 - 6 4 HTML 6 7 8 HTML 5 and CSS | Tutorial 8 Enhancing a Website with Multimedia Add the following track

Figure 8-64 HTML 678 HTML 5 and CSS | Tutorial 8 Enhancing a Website with Multimedia
Add the following track cues to the ws_captions.vtt file, labeling the captions 1 through 12
(times are in parenthesis):
(00:01.00-00:004.000) We observe today
(00:04.000-00:06.000) not a victory of party,
(00:06.000-00:10.000) but a celebration of freedom -
(00:10.000-00:12.000) symbolizing an end,
(00:12.000-00:15.000) as well as a beginning -
(00:15.000-00:17.000) signifying renewal,
(00:17.000-00:19.000) as well as change.
(00:19.000-00:22.000) For I have sworn before you
(00:22.000-00:24.000) and Almighty God
(00:24.000-00:27.000) the same solemn oath
(00:27.000-00:30.000) our forebears prescribed
(00:30.000-00:33.000) nearly a century and three-quarters ago.
Save your changes to the file and then go to the ws_media.css file in your editor. Within the
Video Player Styles section, insert a style rule that displays video elements as blocks with a
width of 90% and horizontally centered by setting the top/bottom margins to 5 pixels and the
left/right margins to auto.
Create a media query for screen devices with a minimum width of 521 pixels. Within the media
query, create a style for video elements that sets the width of the player to 360 pixels, floated on
the right margin with a margin width of 10 pixels.
Within the Track Styles section, create a style rule for caption cues that displays the text in
a 1.3 em sans-serif font with a text color of rgb(221,128,160), and a background color of
rgba(255,255,255,0.8).
Save your changes to the file and then load the ws_jfk.html file in your browser.
Test the page by playing the video clip of Kennedy's speech. Verify that captions are added to the
speech, matching the words uttered by the president. (Notes: If you are using Google Chrome
or Opera, you will have to upload your files to a server if you wish to see the caption styles you
created for the video clip. If your captions appear white on a gray background, move the mouse
pointer away from the video player so that the video slider is not showing.)
Rhetoric in the United States page
Source: Wikimedia Commons
Complete the following:
Using your editor, open the ws_jfk_txt.html, ws_media_txt.css, and ws_captions_txt.vtt files from the html 08- case 1 folder. Enter your name and the date in the comment section of each file, and save them as ws_jfk.html, ws_media.css, and ws_captions.vtt files respectively.
Go to the ws_jfk.html file in your editor. Insert a link to the ws_media.css style sheet file. Take some time to study the content and structure of the document.
Scroll down to the article element and directly below the h1 heading, insert a video clip with the controls enabled, displaying the poster image ws_jfk_poster.png file. Add two possible sources to the video clip: ws_jfk_speech.mp4 and ws_jkk_speech.webm, including the mime-type for each video source.
After the two video sources, add a captions track with the label Speech Captions using the source file ws_captions.vtt. If the browser does not support embedded video, display the paragraph: To play this video clip, your browser needs to support HTML 5.
Save your changes to the file and then open the ws_captions.vtt file in your text editor. Add an initial line to the text file indicating that this file is in WEBVTT format.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!