Setting Video Dimensions

We can customize the size of the video player by specifying the width and height of the video player:

Add the width and height attributes, and their corresponding values, to video.

<video controls width="640" height="360">
<source src="video.mp4" type="video/mp4" />
<source src="video.ogv" type="video/ogg" /> Your device does not support HTML5 video.
</video>
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +