Use the video’s original aspect ratio and position:
or the video element could be positioned to the top of the page using CSS3:
In case you really want to change the background or height of the video:
It’s actually a very useful property to have as its value is used by YouTube’s playback function to select the optimal height for the video on your page.
You can also use the height/width properties if you want to put the video at a specific point on your page
Video playback in browser
You can find video playback in the browser by using the “ready” function.
To start playback of the video using the “ready” function: