Sha256: 318aad4dfe126e74e3f2f775a427b724c3e066edabde96b84d97b410c7a7ab9d

Contents?: true

Size: 263 Bytes

Versions: 8

Compression:

Stored size: 263 Bytes

Contents

module Gollum
  class Macro
    class Video < Gollum::Macro
      def render (fname)
        "<video width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"\"> HTML5 video is not supported on this Browser.</video>"
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gollum-lib-5.2.1-java lib/gollum-lib/macro/video.rb
gollum-lib-5.2.1 lib/gollum-lib/macro/video.rb
gollum-lib-5.2-java lib/gollum-lib/macro/video.rb
gollum-lib-5.2 lib/gollum-lib/macro/video.rb
gollum-lib-5.1.3-java lib/gollum-lib/macro/video.rb
gollum-lib-5.1.3 lib/gollum-lib/macro/video.rb
gollum-lib-5.1.2-java lib/gollum-lib/macro/video.rb
gollum-lib-5.1.2 lib/gollum-lib/macro/video.rb