HTML MediaLesson 49Free preview
HTML Media
This lesson is part of HTML · All levels
Summary
HTML5 provides built-in elements for multimedia playback, namely <video> for movies and <audio> for sound, so it no longer relies on additional plugins. Both elements support built-in controls such as play, pause, and volume. The supported format varies between browsers, so it is recommended to provide more than one source.
Key points
- <video> and <audio> are HTML5 built-in media elements
- Attribute controls display the built-in player button
- Provide more than one <source> for format compatibility
- The use of built-in media reduces dependence on plugins
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.