lib/onebox/engine/simplecast_onebox.rb in onebox-2.2.1 vs lib/onebox/engine/simplecast_onebox.rb in onebox-2.2.2
- old
+ new
@@ -6,9 +6,10 @@
include Engine
include StandardEmbed
matches_regexp(/https?:\/\/(.+)?simplecast.com\/(episodes|s)\/.*/)
always_https
+ requires_iframe_origins("https://embed.simplecast.com")
def to_html
get_oembed.html
end