Responsive & Seamless Fullscreen Video

An awesome snippet which prepares a video for awesome, seamless embedding.

I wrote the code below on StackOverflow earlier, check it out below.

The CSS:

body{width: 100%; height: 100%; margin: 0; padding: 0; overflow:hidden;}

video{max-height:100%}

The HTML:

<video style="width: 100%; height: 100%;"></video>

perm_identityAli Jaffar

schedule

visibility597 reads

labelMarked:

Did you enjoy this post?  


menu