class Onebox::Engine::AudioboomOnebox

Public Instance Methods

placeholder_html() click to toggle source
# File lib/onebox/engine/audioboom_onebox.rb, line 12
      def placeholder_html
        oembed = get_oembed

        <<-HTML
          <img
            src="#{oembed.thumbnail_url}"
            style="max-width: #{oembed.width}px; max-height: #{oembed.height}px;"
            #{oembed.title_attr}
          >
        HTML
      end
to_html() click to toggle source
# File lib/onebox/engine/audioboom_onebox.rb, line 24
def to_html
  get_oembed.html
end