class Onebox::Engine::SlidesOnebox
Public Instance Methods
placeholder_html()
click to toggle source
# File lib/onebox/engine/slides_onebox.rb, line 27 def placeholder_html escaped_src = ::Onebox::Helpers.normalize_url_for_output(raw[:image]) "<img src='#{escaped_src}'>" end
to_html()
click to toggle source
# File lib/onebox/engine/slides_onebox.rb, line 12 def to_html <<-HTML <iframe src="https://slides.com#{uri.path}/embed?style=light" width="576" height="420" scrolling="no" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe> HTML end