Class: Gollum::Macro::Video

Inherits:
Gollum::Macro show all
Defined in:
lib/gollum-lib/macro/video.rb

Instance Method Summary collapse

Methods inherited from Gollum::Macro

#initialize, instance

Constructor Details

This class inherits a constructor from Gollum::Macro

Instance Method Details

#render(fname) ⇒ Object



4
5
6
# File 'lib/gollum-lib/macro/video.rb', line 4

def render (fname)
  "<video width=\"100%\" height=\"100%\" src=\"#{fname}\" controls=\"\"> HTML5 video is not supported on this Browser.</video>"
end