• Top Members
  • 834 Replies
    2585 Replies
  • 716 Replies
    2025 Replies
  • 331 Replies
    1928 Replies

Using & Playing Video Files

User avatar
Just Registered
Posts: 2

Using & Playing Video Files

Sun Feb 26, 2017 1:38 pm

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">
    <meta charset="UTF-8">
    <title>Example document</title>
    <video controls>
      <source src="video_file.mp4" type="video/mp4">
      Video element not supported in your browser.

Post Reply

Return to “Tutorials”