lib/onebox/engine/youtube_onebox.rb in onebox-1.3.2 vs lib/onebox/engine/youtube_onebox.rb in onebox-1.3.3

- old
+ new

@@ -28,10 +28,10 @@ # Avoid making HTTP requests if we are able to get the video ID from the # URL. html = "<iframe width=\"480\" height=\"270\" src=\"https://www.youtube.com/embed/#{video_id}?feature=oembed\" frameborder=\"0\" allowfullscreen></iframe>" else # Fall back to making HTTP requests. - html = raw[:html] + html = raw[:html] || "" end rewrite_agnostic(append_params(html)) end