lib/deck/slide.rb in deckrb-0.4.0 vs lib/deck/slide.rb in deckrb-0.4.1

- old
+ new

@@ -93,9 +93,10 @@ end def <<(s) if s.strip =~ /^\s*<?!VIDEO +([^\s>]*)>?$/ youtube_id = $1 + # see https://developers.google.com/youtube/player_parameters s = %Q(<iframe class="video youtube" type="text/html" width="640" height="390" src="http://www.youtube.com/embed/#{youtube_id}" frameborder="0"></iframe>\n) end @markdown_text << s @markdown_text << "\n" end