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