Created
May 13, 2012 21:05
-
-
Save omgmog/2690199 to your computer and use it in GitHub Desktop.
HTML to accompany the jQuery at gist:2690184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- you need a div with the class 'ytembed' --> | |
<div class="ytembed"> | |
<!-- put a link with the url + embed options of your video --> | |
<a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ?rel=0&showinfo=0&autohide=1&autoplay=1&wmode=transparent"> | |
<!-- and a thumbnail, with the width/height specified --> | |
<img width="560" height="315" src="/path/to/custom_thumbnail.jpg" alt="Click to play"/> | |
</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment