Sha256: 285024c7e1f715b1e3e2f30a60e148ba6d742aa6fec77d25ec84cacf8c1611d3

Contents?: true

Size: 246 Bytes

Versions: 17

Compression:

Stored size: 246 Bytes

Contents

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
gollum-lib-5.1.1-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.1.1 lib/gollum-lib/macro/audio.rb
gollum-lib-5.1-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.1 lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.6-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.6 lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.5-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.5 lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.4-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.4 lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.3-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.3 lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.2-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.2 lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.1-java lib/gollum-lib/macro/audio.rb
gollum-lib-5.0.1 lib/gollum-lib/macro/audio.rb
gollum-lib-5.0 lib/gollum-lib/macro/audio.rb