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
Match between columns
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/71
Play
Full screen (f)
Deck 12: Incorporating Video and Audio
1
Descriptions consist of text that is overlaid on a video image and describes the audio portion. _________________________
False
2
HTML5 does not enable you to incorporate support for video that works for users of older browsers.
False
3
Four main video codecs are in wide use on the web today: Flash , Theora, VP8, and VP9. _________________________
False
4
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 71 flashcards in this deck.
Unlock Deck
k this deck
5
Video controls displayed by browsers typically include a full-screen button.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
6
Captions and descriptions are saved in external files and linked to a web page.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
7
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 71 flashcards in this deck.
Unlock Deck
k this deck
8
Older browsers rely on additional software to play videos, such as the most widely installed program, Adobe Acrobat . _________________________
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
9
The src attribute of the video element specifies the name and location of the video file to display. _________________________
Unlock Deck
Unlock for access to all 71 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 71 flashcards in this deck.
Unlock Deck
k this deck
11
The audio/mpeg MIME type is associated with the AAC audio format. _________________________
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
12
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 71 flashcards in this deck.
Unlock Deck
k this deck
13
All browsers can decode video and audio.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
14
The WebM container format commonly uses VP8 or VP9 video encoding. _________________________
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
15
You can nest multiple instances of the source 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 71 flashcards in this deck.
Unlock Deck
k this deck
16
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 71 flashcards in this deck.
Unlock Deck
k this deck
17
Each encoding method is known as a codec-short for coder/ decoder . _________________________
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
18
Because an audio element contains no visual content, it's invisible on a web page unless controls or a poster image are displayed.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
19
Most video on the web is encoded as AAC, MP3, or MOV.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
20
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 71 flashcards in this deck.
Unlock Deck
k this deck
21
Which of 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 71 flashcards in this deck.
Unlock Deck
k this deck
22
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 71 flashcards in this deck.
Unlock Deck
k this deck
23
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 71 flashcards in this deck.
Unlock Deck
k this deck
24
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 71 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 71 flashcards in this deck.
Unlock Deck
k this deck
26
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 71 flashcards in this deck.
Unlock Deck
k this deck
27
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 71 flashcards in this deck.
Unlock Deck
k this deck
28
When using Ogg, a common audio encoding is ____ 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 71 flashcards in this deck.
Unlock Deck
k this deck
29
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 71 flashcards in this deck.
Unlock Deck
k this deck
30
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 71 flashcards in this deck.
Unlock Deck
k this deck
31
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 71 flashcards in this deck.
Unlock Deck
k this deck
32
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 71 flashcards in this deck.
Unlock Deck
k this deck
33
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 71 flashcards in this deck.
Unlock Deck
k this deck
34
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 71 flashcards in this deck.
Unlock Deck
k this deck
35
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 71 flashcards in this deck.
Unlock Deck
k this deck
36
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 71 flashcards in this deck.
Unlock Deck
k this deck
37
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 71 flashcards in this deck.
Unlock Deck
k this deck
38
MPEG-4 files use the extension ____.
A) .mp4
B) .m4v
C) Either A or B.
D) Neither A nor B.
A) .mp4
B) .m4v
C) Either A or B.
D) Neither A nor B.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
39
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 71 flashcards in this deck.
Unlock Deck
k this deck
40
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 71 flashcards in this deck.
Unlock Deck
k this deck
41
Case-Based Critical Thinking Question Lu maintains a website for the local bicycle coalition, a nonprofit organization that she works with. She wants to add video of a recent bike safety class to the site.
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
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
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
42
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 71 flashcards in this deck.
Unlock Deck
k this deck
43

A) WEBVTT FILE
B) NOTE
C) 1
D) 00:00.000
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
44
Case-Based Critical Thinking Question Lu maintains a website for the local bicycle coalition, a nonprofit organization that she works with. She wants to add video of a recent bike safety class to the site.
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
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
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
45
Case-Based Critical Thinking Question Lu maintains a website for the local bicycle coalition, a nonprofit organization that she works with. She wants to add video of a recent bike safety class to the site.
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
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
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
46
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 71 flashcards in this deck.
Unlock Deck
k this deck
47

A) video
B) source
C) object
D) param
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
48
Case-Based Critical Thinking Question Patrice hosts a radio show on his college station. He wants to post clips from some of his shows on his website for review by potential employers.
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
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
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
49

A) video
B) source
C) object
D) img
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
50
Case-Based Critical Thinking Question Lu maintains a website for the local bicycle coalition, a nonprofit organization that she works with. She wants to add video of a recent bike safety class to the site.
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
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
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
51

A) video
B) source
C) param
D) img
Unlock Deck
Unlock for access to all 71 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 71 flashcards in this deck.
Unlock Deck
k this deck
53
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 71 flashcards in this deck.
Unlock Deck
k this deck
54

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 71 flashcards in this deck.
Unlock Deck
k this deck
55
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 71 flashcards in this deck.
Unlock Deck
k this deck
56

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 71 flashcards in this deck.
Unlock Deck
k this deck
57

A) WEBVTT FILE
B) NOTE
C) 1
D) 00:00.000
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
58
Case-Based Critical Thinking Question Patrice hosts a radio show on his college station. He wants to post clips from some of his shows on his website for review by potential employers.
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
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
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
59
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
A) H.264
B) Theora
C) VP9
D) Flash
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
60
Although you can control the size of the video element with CSS style rules, yo still 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 71 flashcards in this deck.
Unlock Deck
k this deck
61
Each encoding method for video and audio is known as a(n) __________.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
62
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 71 flashcards in this deck.
Unlock Deck
k this deck
63
Match between columns
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
64
An encoded set of video data is known as a(n) __________.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
65
Explain the uses of the kind , label , src , and srclang attributes of the track element.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
66
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 71 flashcards in this deck.
Unlock Deck
k this deck
67
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 71 flashcards in this deck.
Unlock Deck
k this deck
68
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 71 flashcards in this deck.
Unlock Deck
k this deck
69
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 71 flashcards in this deck.
Unlock Deck
k this deck
70
Encoded video and audio are packaged for distribution within a file known as a(n) __________.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck
71
You specify a file's container format using the relevant __________ type.
Unlock Deck
Unlock for access to all 71 flashcards in this deck.
Unlock Deck
k this deck