From the course: HTML Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Video

Video - HTML Tutorial

From the course: HTML Essential Training

Start my 1-month free trial

Video

- The power of the web has revolutionized the way that we connect and share experiences. Film, television and, well, teaching have all been transformed by the ability of the web to transmit video. One way to put video content on a webpage is to use the video element in HTML. Just like the audio element, we can create a video element with both an opening and a closing tag. We use the source attribute to point to a video file. And, we add the controls attribute to tell the browser to create a video player for us. Great, we're done now, right? Well, maybe, this is pretty cool. It's very simple. There are a couple problems though for us to solve. The first has to do with how videos are encoded. For the simplest version of this demo, I've made a video file that 480p compressed using the H.264 codec delivered as an MP4 file. 480p means that there are 480 lines of resolution or 720 pixels wide by 400 pixels tall. It's…

Contents