# frozen_string_literal: true
module Onebox
module Engine
class SlidesOnebox
include Engine
include StandardEmbed
matches_regexp(/^https?:\/\/slides\.com\/[\p{Alnum}_\-]+\/[\p{Alnum}_\-]+$/)
requires_iframe_origins "https://slides.com"
def to_html
<<-HTML
HTML
end
def placeholder_html
escaped_src = ::Onebox::Helpers.normalize_url_for_output(raw[:image])
""
end
end
end
end