lib/onebox/engine/youtube_onebox.rb in onebox-1.9.20 vs lib/onebox/engine/youtube_onebox.rb in onebox-1.9.21
- old
+ new
@@ -43,10 +43,10 @@
allowfullscreen>
</iframe>
HTML
else
# for channel pages
- html = Onebox::Engine::WhitelistedGenericOnebox.new(@url, @cache, @timeout).to_html
+ html = Onebox::Engine::WhitelistedGenericOnebox.new(@url, @timeout).to_html
return if Onebox::Helpers.blank?(html)
html.gsub!(/['"]\/\//, "https://")
html
end
end