class Onebox::Engine::KalturaOnebox
Public Instance Methods
preview_html()
click to toggle source
# File lib/onebox/engine/kaltura_onebox.rb, line 13 def preview_html og = get_opengraph <<~HTML <img src="#{og.image_secure_url}" width="#{og.video_width}" height="#{og.video_height}"> HTML end
to_html()
click to toggle source
# File lib/onebox/engine/kaltura_onebox.rb, line 21 def to_html og = get_opengraph <<~HTML <iframe src="#{og.video_secure_url}" width="#{og.video_width}" height="#{og.video_height}" frameborder='0' allowfullscreen ></iframe> HTML end