Permalink
Browse files

Make youtube videos collabsible as well

  • Loading branch information...
1 parent 233fc8c commit ba248016b3f936514005da682a690d94536320b8 David Petersen committed Feb 20, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 views/templates.jade
View
5 views/templates.jade
@@ -134,6 +134,11 @@ script(id="image_embed", type="text/html")
img(src="{{link}}")
script(id="youtube_embed", type="text/html")
+ div
+ a.hide_embed
+ i(class="icon-chevron-up")
+ a.show_embed.hide
+ i(class="icon-chevron-down")
.embed
iframe(width="420", height="315", frameborder="0", allowfullscreen,
src="http://www.youtube.com/embed/{{video_id}}?rel=0")

0 comments on commit ba24801

Please sign in to comment.