HTML video Tag

Tuesday, June 17th, 2014 Programming

The <video width=”300″ height=”150″> tag specifies video, such as a movie clip or other video streams.

There are 3 supported video formats for the <video> element: MP4, WebM, and Ogg

Normal Video:

<video width=”320″ height=”240″ controls>

<source src=”play.mp4″ type=”video/mp4″>

<source src=”play.ogg” type=”video/ogg”>

Your browser does not support the video tag.
</video>

Autoplay Video:

<video controls autoplay>

<source src=”songs.mp4″ type=”video/mp4″>

Your browser does not support the video tag.

</video>

No comments yet.

Leave a comment

Request a Free SEO Quote