Sha256: 5f2369804e48778fc5f51d132be43cc3b4bf605811eeda278eb666838377b8de
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 Bytes
Contents
module Onebox module Engine class MixcloudOnebox include Engine include StandardEmbed matches_regexp(/^https?:\/\/www\.mixcloud\.com\//) always_https def placeholder_html oembed = get_oembed "<img src='#{oembed.image}' height='#{oembed.height}' #{oembed.title_attr}>" end def to_html get_oembed.html end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
onebox-1.8.81 | lib/onebox/engine/mixcloud_onebox.rb |