lib/onebox/engine/kaltura_onebox.rb in onebox-2.2.12 vs lib/onebox/engine/kaltura_onebox.rb in onebox-2.2.13
- old
+ new
@@ -12,22 +12,24 @@
def preview_html
og = get_opengraph
<<~HTML
- <img src="#{og.image_secure_url}" width="#{og.video_width}" height="#{og.video_height}" >
+ <img src="#{og.image_secure_url}" width="#{og.video_width}" height="#{og.video_height}">
HTML
end
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>
+ <iframe
+ src="#{og.video_secure_url}"
+ width="#{og.video_width}"
+ height="#{og.video_height}"
+ frameborder='0'
+ allowfullscreen
+ ></iframe>
HTML
end
end
end
end