Loading...

You have learned how to add video to websites through HTML5 and through sharing via video hosting services.

Before taking your quiz, review what you've learned in this lesson by completing the multiple choice activity below.

What is wrong in the video code below?

<video width="320px" height="240px">
<source src="file.mp4" type="video/mp4">
</video>


  1. More than one file type is required.
  2. The type attribute is set to the wrong media.
  3. The type attribute belongs on the <video> tag.
  4. The src attribute belongs on the <video> tag.

The type attribute for an mp4 should be "video/mpeg".

The type attribute for an mp4 should be "video/mpeg".

The type attribute for an mp4 should be "video/mpeg".

The type attribute for an mp4 should be "video/mpeg".

What does preload="metadata" do to the <video> tag?

  1. The browser will not load anything until clicked.
  2. Only basic information about the file will be loaded initially.
  3. Part of or all of the audio file will be loaded to prepare it for use.
  4. The player will start on its own once the file is loaded.

The metadata attribute only downloads kilobytes worth of the video's data.

The metadata attribute only downloads kilobytes worth of the video's data.

The metadata attribute only downloads kilobytes worth of the video's data.

The metadata attribute only downloads kilobytes worth of the video's data.

Which of the following code excerpts contain a Boolean attribute?

  1. <video width="320px" height="240px">
  2. <source src="file.mp4" type="video/mp4">
  3. <video controls>
  4. <source src="file.ogv" type="video/ogg">

Boolean attributes are ones that represent a value of "on" when added.

Boolean attributes are ones that represent a value of "on" when added.

Boolean attributes are ones that represent a value of "on" when added.

Boolean attributes are ones that represent a value of "on" when added.

What does frame rate represent in video files?

  1. the amount of data processed in a given amount of time
  2. the number of still images processed in a given amount of time
  3. the amount of data processed per still image
  4. the duration of the video

Videos are created by running through a series of still images to simulate movement.

Videos are created by running through a series of still images to simulate movement.

Videos are created by running through a series of still images to simulate movement.

Videos are created by running through a series of still images to simulate movement.

What HTML tag does a video service like YouTube or Vimeo use to embed a video on your page?

  1. <iframe>
  2. <video>
  3. <source>
  4. <frame>

The tag <iframe> stands for inline frame.

The tag <iframe> stands for inline frame.

The tag <iframe> stands for inline frame.

The tag <iframe> stands for inline frame.

Summary

Questions answered correctly:

Questions answered incorrectly: