Using & Playing Video Files

1 post Page 1 of 1
Contributors
User avatar
KingTut
Just Registered
Just Registered
Posts: 2
Joined: Sun Feb 26, 2017 12:29 pm

Using & Playing Video Files
KingTut
Videos can be added to a web page by using the video element.

The video element has a start and an end tag. In this example, a source URL is specified by using a source element.
Code: Select all
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Example document</title>
  </head>
  <body>
    <video controls>
      <source src="video_file.mp4" type="video/mp4">
      Video element not supported in your browser.
    </video>
  </body>
</html>  
1 post Page 1 of 1
Return to “Tutorials”