module Onebox module Engine class VimeoOnebox include Engine include StandardEmbed matches_regexp(/^https?:\/\/(www\.)?vimeo\.com\/\d+(\/[^\/]+)?$/) always_https def placeholder_html oembed = get_oembed escaped_src = ::Onebox::Helpers.normalize_url_for_output(oembed[:thumbnail_url]) "" end def to_html get_oembed[:html] end end end end