Add media to a web page

Derek Herman
Derek Herman
Joe Medley
Joe Medley

In this section you'll learn how to embed a media file in a web page using the <video> and <source> tags, how to add captions to a video for the hearing-impaired, and some general concepts for using media frameworks. Additionally, you'll learn about using preload to speed up playback start, and we will discuss how we built an updated demo PWA with offline adaptive streaming capabilities called Kino.

This section assumes you have a video file that is ready for embedding in a web page. A .mov file downloaded from a camera will not work. If that's all you have, see Prepare media files for the web then come back.

This section covers these topics.

There is a lot of ground to cover in this section, get started by learning how to use the <video> and <source> tags.