Deck 12: Incorporating Video and Audio
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/74
Play
Full screen (f)
Deck 12: Incorporating Video and Audio
1
Older browsers rely on additional software to play videos, such as the most widely installed program, Adobe Acrobat._________________________
False
2
Because an audio element contains no visual content, it's invisible on a web page unless controls or a poster image are displayed.
True
3
You can nest multiple instances of thesource element within a video element to specify the location and encoding of multiple versions of the same video encoded in different formats._________________________
True
4
Most video on the web is encoded as AAC, MP3, or MOV.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
5
The WebM container format commonly uses VP8 or VP9 video encoding._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
6
The audio/mpeg MIME type is associated with the AAC audio format._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
7
HTML5 introduced an audio element for linking audio files to a web page and enabling users to control playback.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
8
All browsers can decode video and audio.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
9
Captions and descriptions are saved in external files and linked to a web page.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
10
The WebM container format commonly uses H.264 video encoding.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
11
Before a user chooses to play a video, the first frame of the video is displayed by default.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
12
Each encoding method is known as a codec-short for coder/decoder._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
13
Even if a video element contains one or more nested source elements, it's still important to include the src attribute for the video element.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
14
Descriptions consist of text that is overlaid on a video image and describes the audio portion._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
15
HTML5 does not enable you to incorporate support for video that works for users of older browsers.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
16
The autoplay attribute indicates that the browser should restart playback each time it reaches the end of a video._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
17
To preserve the layout of your web pages in browsers that are unable to render video content, you can provide a poster image._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
18
The src attribute of the video elementspecifies the name and location of the video file to display._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
19
Video controls displayed by browsers typically include a full-screen button.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
20
Four main video codecs are in wide use on the web today: Flash, Theora, VP8, and VP9._________________________
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
21
The presence of the controls attribute in the video element instructs browsers
A) to add their default controls.
B) to hide their default controls.
C) to block user control of playback.
D) to begin playing the video immediately when the page is loaded.
A) to add their default controls.
B) to hide their default controls.
C) to block user control of playback.
D) to begin playing the video immediately when the page is loaded.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
22
The __________ attribute of the video element specifies the container format used to encode the file.
A) autoplay
B) type
C) loop
D) src
A) autoplay
B) type
C) loop
D) src
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
23
An encoded set of video data is known as a(n) ____.
A) encoding
B) stream
C) container
D) plugin
A) encoding
B) stream
C) container
D) plugin
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
24
When using Ogg, a common audio encodingis ____ audio.
A) Opus
B) AAC
C) Theora
D) H.264
A) Opus
B) AAC
C) Theora
D) H.264
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
25
Video controls typically include a play button, a position bar for visualizing the progress of the video during playback with a slider for moving forward or backward in the video, one or more options for adjusting the ____ level, and a full-screen button.
A) video speed
B) audio
C) color
D) download rate
A) video speed
B) audio
C) color
D) download rate
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
26
It's generally best to reference multiple video files, each specifying the same video but in different ____ formats, to accommodate the potential range of your users' browser capabilities.
A) encoding
B) container
C) Both A and B.
D) Neither A nor B.
A) encoding
B) container
C) Both A and B.
D) Neither A nor B.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
27
While most container formats can accommodate a variety of codecs, each container is commonly used with one or two specific ____ codecs.
A) audio
B) video
C) Both A and B.
D) Neither A nor B.
A) audio
B) video
C) Both A and B.
D) Neither A nor B.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
28
To make a Flash video available to older browsers, you use the object and __________ elements.
A) param
B) flash
C) source
D) embed
A) param
B) flash
C) source
D) embed
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
29
Playing a video or audio file on a computer has traditionally required a program, known as a helper program or a ____, that can both unpack the relevant container and decode the video and audio streams.
A) plugin
B) container
C) codec
D) stream
A) plugin
B) container
C) codec
D) stream
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
30
video/x-flv is the MIME type for __________.
A) Flash Video
B) MPEG-4
C) Ogg
D) WebM
A) Flash Video
B) MPEG-4
C) Ogg
D) WebM
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
31
All modern browsers can play MPEG-4 videos encoded with the __________ codec.
A) H.264
B) Theora
C) VP8
D) VP9
A) H.264
B) Theora
C) VP8
D) VP9
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
32
The autoplay attribute of the video element indicates
A) that the video should begin playing immediately when the page is loaded.
B) that the browser should restart playback each time it reaches the end of the video.
C) that user control of playback should be blocked.
D) that the browser should download the video file when opening the web page.
A) that the video should begin playing immediately when the page is loaded.
B) that the browser should restart playback each time it reaches the end of the video.
C) that user control of playback should be blocked.
D) that the browser should download the video file when opening the web page.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
33
Whichof the following is a popular container format on the web today?
A) WebM
B) H.264
C) VP8
D) Vorbis
A) WebM
B) H.264
C) VP8
D) Vorbis
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
34
When using Ogg, a common video encoding is ____ video
A) H.264
B) AAC
C) Theora
D) VP8
A) H.264
B) AAC
C) Theora
D) VP8
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
35
When using MPEG-4, the common video encoding is ____.
A) AAC video
B) H.264 video
C) VP8 video
D) Theora video
A) AAC video
B) H.264 video
C) VP8 video
D) Theora video
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
36
The process of transforming a ____ into a digital file is known as encoding.
A) moving image
B) sound
C) Either A or B.
D) Neither A nor B.
A) moving image
B) sound
C) Either A or B.
D) Neither A nor B.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
37
When using MPEG-4, a common audio encoding is ____ audio
A) VP8
B) Theora
C) Opus
D) AAC
A) VP8
B) Theora
C) Opus
D) AAC
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
38
The loop attribute of the video element indicates
A) that the browser should restart playback each time it reaches the end of the video.
B) that user control of playback should be blocked.
C) that the video should begin playing immediately when the page is loaded.
D) that the browser should download the video file when opening the web page.
A) that the browser should restart playback each time it reaches the end of the video.
B) that user control of playback should be blocked.
C) that the video should begin playing immediately when the page is loaded.
D) that the browser should download the video file when opening the web page.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
39
The container format is expressed using the relevant MIME type, which is a standardized value used to reference a __________ type.
A) data
B) web
C) download
D) transaction
A) data
B) web
C) download
D) transaction
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
40
One of the most commonly used helper programs for playing web video and audio is __________.
A) Windows Media Player
B) Apple iTunes
C) Adobe Acrobat
D) Adobe Flash Player
A) Windows Media Player
B) Apple iTunes
C) Adobe Acrobat
D) Adobe Flash Player
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
41

Referring to the code shown in the figure above, which element specifies the fallback image?
A) video
B) source
C) param
D) img

Referring to the code shown in the figure above, which element specifies the fallback image?
A) video
B) source
C) param
D) img
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
42

Referring to the figure above, which code is a cue time range?
A) WEBVTT FILE
B) 1
C) 00:00.000 --> 00:31.000
D) A bush with purple flowers is covered with many dark butterflies, some of which slowly beat their wings.

Referring to the figure above, which code is a cue time range?
A) WEBVTT FILE
B) 1
C) 00:00.000 --> 00:31.000
D) A bush with purple flowers is covered with many dark butterflies, some of which slowly beat their wings.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
43
Lu wants users' browsers to display their own default controls to the video element.To do this she adds the ____attribute.
A) buttons
B) controls
C) default
D) play
A) buttons
B) controls
C) default
D) play
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
44
Researchers are continually trying to find new ways to encode video and audio that result in smaller __________ sizes.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
45

Referring to the figure above, which code is cue text?
A) NOTE
B) 1
C) 00:00.000 --> 00:31.000
D) A bush with purple flowers is covered with many dark butterflies, some of which slowly beat their wings.

Referring to the figure above, which code is cue text?
A) NOTE
B) 1
C) 00:00.000 --> 00:31.000
D) A bush with purple flowers is covered with many dark butterflies, some of which slowly beat their wings.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
46

Referring to the code shown in the figure above, which element specifies the path and filename of the video file for older browsers?
A) video
B) source
C) object
D) param

Referring to the code shown in the figure above, which element specifies the path and filename of the video file for older browsers?
A) video
B) source
C) object
D) param
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
47
Both captions and descriptions are written in __________.
A) WebVTT
B) HTML
C) CSS
D) None of the above.
A) WebVTT
B) HTML
C) CSS
D) None of the above.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
48
Patrice wants to display an image for each audio clip.To do so, he uses __________.
A) the poster attribute
B) the img element
C) the height and width properties
D) the height and width attributes
A) the poster attribute
B) the img element
C) the height and width properties
D) the height and width attributes
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
49

Referring to the code shown in the figure above, which element specifies the poster image?
A) video
B) source
C) object
D) img

Referring to the code shown in the figure above, which element specifies the poster image?
A) video
B) source
C) object
D) img
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
50
Lu wants to include an image that users see before they play the video.To do this, she uses __________.
A) the poster attribute
B) the object element
C) the param element
D) the img element
A) the poster attribute
B) the object element
C) the param element
D) the img element
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
51

Referring to the figure above, which code is a cue name?
A) WEBVTT FILE
B) NOTE
C) 1
D) 00:00.000

Referring to the figure above, which code is a cue name?
A) WEBVTT FILE
B) NOTE
C) 1
D) 00:00.000
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
52
A(n) __________ image is displayed before a video is played.
A) poster
B) fallback
C) lead-off
D) alternate
A) poster
B) fallback
C) lead-off
D) alternate
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
53

Referring to the code shown in the figure above, which of the following is most likely the video codec used in the source file bfly.webm?
A) H.264
B) Theora
C) VP9
D) Flash

Referring to the code shown in the figure above, which of the following is most likely the video codec used in the source file bfly.webm?
A) H.264
B) Theora
C) VP9
D) Flash
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
54
Although you can control the size of the video element with CSS style rules, yostill need to specify the width and height of the object element using __________.
A) attributes
B) parameters
C) child elements
D) JavaScript
A) attributes
B) parameters
C) child elements
D) JavaScript
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
55
Patrice specifies a MIME type of audio/mpeg for each of his clips.This is because the clips are encoded in which audio format?
A) AAC
B) mp3
C) Opus
D) Vorbis
A) AAC
B) mp3
C) Opus
D) Vorbis
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
56
Which element used in adding video to a web page is not also used when adding audio?
A) source
B) object
C) param
D) img
A) source
B) object
C) param
D) img
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
57
Lu wants to make her video accessible for users who are deaf or hard of hearing.To do so, she includes __________.
A) captions
B) descriptions
C) narration
D) a fallback image
A) captions
B) descriptions
C) narration
D) a fallback image
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
58

Referring to the figure above, which code indicates the start of a comment?
A) WEBVTT FILE
B) NOTE
C) 1
D) 00:00.000

Referring to the figure above, which code indicates the start of a comment?
A) WEBVTT FILE
B) NOTE
C) 1
D) 00:00.000
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
59
A(n) __________ image is displayed in browsers that do not recognize the video element and cannot render the video specified by the object element.
A) poster
B) fallback
C) lead-off
D) alternate
A) poster
B) fallback
C) lead-off
D) alternate
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
60
Lu wants to make her video accessible for users who are blind or have low sight.To do so, she adds __________.
A) captions
B) descriptions
C) narration
D) a fallback image
A) captions
B) descriptions
C) narration
D) a fallback image
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
61
You can nest multiple instances of the __________ element within a video element to specify the location and encoding of multiple versions of the same video encoded in different formats.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
62
You specify a file's container format using the relevant __________ type.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
63
Each encoding method for video and audio is known as a(n) __________.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
64
Matching
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
param
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
param
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
65
Explain why it is necessary to provide a Flash fallback when you include video or audio in a web page.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
66
Encoded video and audio are packaged for distribution within a file known as a(n) __________.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
67
A(n) __________ is a program that can both unpack a container and decode the video and audio streams.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
68
Matching
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
object
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
object
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
69
Explain what captions and descriptions are and how incorporating them into web videos can make the videos more accessible.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
70
Matching
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
img
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
img
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
71
Matching
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
source
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
source
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
72
An encoded set of video data is known as a(n) __________.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
73
Explain the uses of the kind, label, src, and srclang attributes of the track element.
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck
74
Matching
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
video
Match each HTML element with its use in creating web video and audio.
a. includes the content of an external resource, such as Flash video, in the current web page
b. when multiple versions of the same video are used, specifies the location and encoding of one version of the video
c. contains all other elements used to add video
d. defines one or more parameters related to an external resource
e. specifies an image to be displayed in browsers that cannot render any of the video content
video
Unlock Deck
Unlock for access to all 74 flashcards in this deck.
Unlock Deck
k this deck