lib/onebox/engine/wistia_onebox.rb in onebox-2.1.2 vs lib/onebox/engine/wistia_onebox.rb in onebox-2.1.3
- old
+ new
@@ -5,10 +5,10 @@
class WistiaOnebox
include Engine
include StandardEmbed
matches_regexp(/https?:\/\/(.+)?(wistia.com|wi.st)\/(medias|embed)\/.*/)
- requires_iframe_origins "https://fast.wistia.com"
+ requires_iframe_origins("https://fast.wistia.com", "https://fast.wistia.net")
always_https
def to_html
get_oembed.html
end