module Onebox module Engine class ReplitOnebox include Engine include StandardEmbed matches_regexp(/^https?:\/\/repl\.it\/.+/) always_https def placeholder_html oembed = get_oembed # we want the image to have the same dimensions as the embedded html <<-HTML HTML end def to_html oembed = get_oembed oembed[:html] end end end end