lib/onebox/engine/simplecast_onebox.rb in onebox-1.9.7 vs lib/onebox/engine/simplecast_onebox.rb in onebox-1.9.8

- old
+ new

@@ -20,10 +20,10 @@ end private def get_oembed_url - if id = url.scan(/\A.*?-([a-zA-Z0-9]*)\Z/).flatten.first + if id = url.scan(/([a-zA-Z0-9]*)\Z/).flatten.first oembed_url = "https://simplecast.com/s/#{id}" else oembed_url = url end