Playing video using html5
Prior to HTML 5 it was difficult to write code for playing video. Developer used to write code based on browser types and OS. In HTML 5 new tag has been introduced to support videos. Its very straight forward to use not much of coding involved in using it. <video id="myVideo" poster="start.jpg" autoplay="autoplay" width="100px" height="150px" audio="muted" loop="loop" controls="controls" src="video.mp4" preload="auto"> </video> Attribute Description autoplay=autoplay If present, then the video will start playing as soon as it is ready poster=url ...