module Onebox
module Engine
class BandCampOnebox
include Engine
include StandardEmbed
matches_regexp(/^https?:\/\/.*\.bandcamp\.com\/(album|track)\//)
always_https
def placeholder_html
og = get_opengraph
""
end
def to_html
og = get_opengraph
escaped_src = og.video_secure_url || og.video
<<-HTML
HTML
end
end
end
end