Skip to content

Instantly share code, notes, and snippets.

@townivan
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save townivan/9021176 to your computer and use it in GitHub Desktop.
Save townivan/9021176 to your computer and use it in GitHub Desktop.
Youtube embed setting to force higher quality and other settings that I like. All on a single page which just shows the video.
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>video</title>
<style>
html, body, #wrapper { height:100%; width: 100%; margin: 0; padding: 0; border: 0;}
#wrapper td { vertical-align: middle; text-align: center; }
body{background-color:#CCC;}
</style>
</head>
<body>
<table id="wrapper">
<tr>
<td>
<iframe width="853" height="480" src="https://www.youtube.com/embed/M7lc1UVf-VE
?rel=0&modestbranding=1&autohide=1&showinfo=0&fs=0&wmode=opaque&vq=hd1080" frameborder="0"></iframe>
</td>
</tr>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment