lib/onebox/engine/soundcloud_onebox.rb in onebox-1.7.2 vs lib/onebox/engine/soundcloud_onebox.rb in onebox-1.7.3
- old
+ new
@@ -2,10 +2,10 @@
module Engine
class SoundCloudOnebox
include Engine
include StandardEmbed
- matches_regexp(/^https?:\/\/.*soundcloud\.com/)
+ matches_regexp(/^https?:\/\/soundcloud\.com/)
always_https
def to_html
oembed_data[:html].gsub('visual=true', 'visual=false')
end