×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: HTML
Posted by: Beth Johnson
Added: Apr 4, 2014 10:21 PM
Views: 26
  1. Youtube videos
  2.  
  3. They can't be added directly but you can add an image with a link to the video like this:
  4.  
  5. <a href="http://www.youtube.com/watch?feature=player_embedded&v=YOUTUBE_VIDEO_ID_HERE
  6. " target="_blank"><img src="http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg"
  7. alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>
  8.  
  9. Or, in pure Markdown, but losing the image sizing and border:
  10.  
  11. [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)
  12.