Onebox regression: simplecast.com

AI-generated summary

A regression issue with Oneboxing for simplecast.com links has been reported by Grayden_Shand. The issue caused simplecast links to no longer be oneboxed, instead displaying as raw links. Falco discovered that using the SimpleCast embed code directly still worked. Grayden_Shand clarified that the issue occurred with a specific link structure, which used to work but no longer does. The issue has been fixed by techAPJ with two commits to the Discourse GitHub repository.

We’ve noticed that the oneboxing for simplecast.com has recently broken.

Here’s an example of how it used to appear:

Now, however the Oneboxing a simplecast link does nothing (raw link is displayed).

PM me and I can give an example link to use for debugging.

1 Like

Testing

https://player.simplecast.com/0d75cbd8-adc8-4c7d-9f91-4ace448ff66f

https://aboutpodcasting.simplecast.com/episodes/podcaststructure

<iframe height="200px" width="100%" frameborder="no" scrolling="no" seamless src="https://player.simplecast.com/0d75cbd8-adc8-4c7d-9f91-4ace448ff66f?dark=true&hide_share=true"></iframe>


Looks like using the SimpleCast embed code directly is working (as long as the iframe is allowed in the site setting). Where you using a different method @Grayden_Shand ?

1 Like

Thanks Rafael, good to know that the direct embeds work.

We’ve always used the second link structure:

To show that it used to work, here’s a a post on one of our private sites which uses that link structure and still has the embed: https://pod8.akimbo.com/t/about-the-2-the-magical-power-of-starting-small/17

If you look at the raw markdown for that post, you’ll see the embed uses the link structure I referenced. I’m guessing that if I edited the post now, the embed would disappear.

Fixed via

https://github.com/discourse/discourse/commit/a341dba5d909bb07d75a1620fa190e9b6ed0f77b

and

https://github.com/discourse/discourse/commit/bb2c48b0657f6182b852ab76fc190825df5d2b7f

Example:

https://aboutpodcasting.simplecast.com/episodes/recording-your-first-three-episodes

… oneboxes as:

Thanks for reporting this issue @Grayden_Shand :+1:

2 Likes