Quantcast
Channel: Programming – Programming blog – website programming blog, blog on website programming .net, java , php and mor
Viewing all articles
Browse latest Browse all 31

HTML video Tag

$
0
0

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>


Viewing all articles
Browse latest Browse all 31

Trending Articles