lib/onebox/engine/gfycat_onebox.rb in onebox-1.6.1 vs lib/onebox/engine/gfycat_onebox.rb in onebox-1.6.2
- old
+ new
@@ -3,9 +3,10 @@
class GfycatOnebox
include Engine
include StandardEmbed
matches_regexp(/^https?:\/\/gfycat\.com\//)
+ always_https
def to_html
oembed = get_oembed
src = Nokogiri::HTML::fragment(oembed[:html]).at_css("iframe")["src"]