Internet‎ > ‎HTML‎ > ‎HTML 5‎ > ‎

HTML5 Video

HTML5 provide a <video> element is used for playing videos or movies in your website.

Example
<video src="abc.vid" controls="controls" autoplay></video>

Attributes:

autoplay : Video will start automatically

controls : Video controls will be displayed such as play button and progress.
  • Video playback
  • Volume
  • Seeking
  • and pause/resume.
width : Width of video player

height : Height of the video player

loop : Video will start again right after finish.

src : URL of video file.
Comments