module Onebox module Engine class AudioboomOnebox include Engine include StandardEmbed matches_regexp(/^https?:\/\/audioboom\.com\/posts\/\d+/) always_https def placeholder_html oembed = get_oembed escaped_src = ::Onebox::Helpers.normalize_url_for_output(oembed[:thumbnail_url]) <<-HTML HTML end def to_html oembed = get_oembed oembed[:html] end end end end