lib/onebox/engine/soundcloud_onebox.rb in onebox-2.1.0 vs lib/onebox/engine/soundcloud_onebox.rb in onebox-2.1.1
- old
+ new
@@ -5,9 +5,10 @@
class SoundCloudOnebox
include Engine
include StandardEmbed
matches_regexp(/^https?:\/\/soundcloud\.com/)
+ requires_iframe_origins "https://w.soundcloud.com"
always_https
def to_html
oembed = get_oembed
oembed.html.gsub('visual=true', 'visual=false')