lib/onebox/engine/sketchfab_onebox.rb in onebox-1.8.36 vs lib/onebox/engine/sketchfab_onebox.rb in onebox-1.8.38
- old
+ new
@@ -8,10 +8,10 @@
always_https
def to_html
opengraph = get_opengraph
- src = opengraph[:video_url].gsub("?autostart=1", "")
+ src = opengraph[:video_url].gsub("autostart=1", "")
escaped_src = ::Onebox::Helpers.normalize_url_for_output(src)
<<-HTML
<iframe src="#{escaped_src}"
width="#{opengraph[:video_width]}"