lib/onebox/engine/vimeo_onebox.rb in onebox-2.2.12 vs lib/onebox/engine/vimeo_onebox.rb in onebox-2.2.13

- old
+ new

@@ -23,17 +23,19 @@ # for private videos video_id = uri.path[/\/(\d+)/, 1] end video_src = "https://player.vimeo.com/video/#{video_id}" video_src = video_src.gsub('autoplay=1', '').chomp("?") + <<-HTML - <iframe width="#{WIDTH}" - height="#{HEIGHT}" - src="#{video_src}" - data-original-href="#{link}" - frameborder="0" - allowfullscreen> - </iframe> + <iframe + width="#{WIDTH}" + height="#{HEIGHT}" + src="#{video_src}" + data-original-href="#{link}" + frameborder="0" + allowfullscreen + ></iframe> HTML end private