Tag Video

THE WORLD’S LARGEST WEB DEVELOPER SITE

THE WORLD’S LARGEST WEB DEVELOPER SITE

< video width ='320' height ='240' controls >

  < source src ='movie.mp4' type ='video/mp4' >

  < source src ='movie.ogg' type ='video/ogg' >

  Your browser does not support the video tag.

W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic understanding.

Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.

While using this site, you agree to have read and accepted our terms of use ,

cookie and privacy policy .

Copyright 1999-2018 by Refsnes Data. All Rights Reserved.

Powered by W3.CSS .

The

Currently, there are 3 supported video formats for the

The numbers in the table specify the first browser version that fully supports the element.

Tip: Any text between the tags will be

displayed in browsers that do not support the

The

The

YES from Firefox 21 from Firefox 30 for Linux

Specifies that the video will start playing as soon as it is ready

Specifies that video controls should be displayed (such as a play/pause button etc).

Sets the height of the video player

Specifies that the video will start over again, every time it is finished

Specifies that the audio output of the video should be muted

Specifies an image to be shown while the video is downloading, or until the user hits the play button

Specifies if and how the author thinks the video should be loaded when the page loads

Specifies the URL of the video file