FIX: update oEmbed URL for simplecast onebox (#13956)

FIX: update oEmbed URL for simplecast onebox (#13956)

diff --git a/lib/onebox/engine/simplecast_onebox.rb b/lib/onebox/engine/simplecast_onebox.rb
index 068c530..5d9f15a 100644
--- a/lib/onebox/engine/simplecast_onebox.rb
+++ b/lib/onebox/engine/simplecast_onebox.rb
@@ -23,13 +23,7 @@ module Onebox
       private
 
       def get_oembed_url
-        if id = url.scan(/([a-zA-Z0-9]*)\Z/).flatten.first
-          oembed_url = "https://simplecast.com/s/#{id}"
-        else
-          oembed_url = url
-        end
-
-        "https://simplecast.com/oembed?url=#{oembed_url}"
+        "https://api.simplecast.com/oembed?url=#{url}"
       end
     end
   end

GitHub sha: a341dba5d909bb07d75a1620fa190e9b6ed0f77b

This commit appears in #13956 which was approved by CvX. It was merged by techAPJ.

This commit has been mentioned on Discourse Meta. There might be relevant details there: