So embedden Sie einen Simplecast-Audio-Player

I’m really confused why this isn’t embedding an audio player:

https://simplecast.com/s/7fe152f4

They support oembed, as can be seen here: https://oembed.com (search on the page for simplecast).

My first thought is that I need to whitelist it, and it’s just not whitelisted here. However, I turned on “enable inline onebox on all domains” and that didn’t help on my site. Then I tried whitelisting simplecast.com. That didn’t help either. Any thoughts?

edited to add: appears to work properly on iframely

Their OpenGraph data has a type = website

Ok… interesting. So, what should it be? I might be able to get them to fix it.

And why does it appear to work properly in iframely?

Because they use the data from the Twitter Card.

I think we should properly support Twitter Cards with a type of player.

@nbianca, can you add that to your list? We should update our WhitelistedGenericOnebox to properly detect embeds in Twitter Cards

I let them know about the issue. I guess it’s a race to see who can fix it first. :wink:

:slight_smile:

https://github.com/discourse/onebox/pull/390/files

Looking forward to trying this!

Does this work?

https://simplecast.com/s/7fe152f4

Should the above work @nbianca?

Simplecast are not providing twitter cards info anymore, so I had to implement an oembed onebox for them.

https://github.com/discourse/onebox/pull/403

FWIW, Simplecast recently went through a big change to a new 2.0 codebase. Lots changed. I did tell them recently that their stuff isn’t auto-embedding like they claim.

They say “Use this link to share via social media. It will automatically embed a player in WordPress, Medium, and many other popular sites.” with a link such as this:
https://tgd.simplecast.com/episodes/dan-blackman-and-robyn-kanner-the-power-7fe152f4

It doesn’t work on Wordpress.com or self-hosted Wordpress. Let’s test it again now here on Meta:

Edit: Looks like it’s working!

Ich poste dies hier aus einem späteren Thread zu diesem Thema.

Es scheint, als würde Onebox nach einer langen Zeit der einwandfreien Funktion bei Simplecast wieder nicht mehr funktionieren. Habt ihr dazu Ideen? Danke.

Mal sehen, ob der oben gepostete alte Link noch einen Onebox-Effekt erzeugt.

https://tgd.simplecast.com/episodes/dan-blackman-and-robyn-kanner-the-power-7fe152f4

Ja, dieser Link funktioniert einwandfrei, @Seth_Godin.

Der Link unterscheidet sich erheblich von dem, den du gepostet hast, nämlich:

https://simplecast.com/s/19cdf3ea

Vergleiche damit:

https://tgd.simplecast.com/episodes/dan-blackman-and-robyn-kanner-the-power-7fe152f4

Ich habe etwas weiter recherchiert. So bietet Simplecast den Nutzern jetzt eine Möglichkeit, einen Link zu teilen:

Wie Sie sehen können, wird das alte Modell nicht mehr unterstützt.

Ich bin mir nicht sicher, ob dies auf der Roadmap für Onebox steht, aber es ist eindeutig eine Änderung ihrerseits. Vielen Dank.

EDIT! Moment, das könnte funktionieren … Ich füge das Wort „embed

Vielleicht müssen wir hier die URL-Muster, nach denen wir suchen, für diese Domain erweitern, @nbianca?

Ich melde mich hier zu Wort! Ich habe auf das ‘neue’ Simplecast migriert, um die aktualisierte URL zu erhalten, wie die, die du von TGD gepostet hast, @codinghorror, aber sie erscheint immer noch als Link und nicht als Onebox.

Ich prüfe das gerade, @codinghorror!!

Gerne kann @nbianca sich das ansehen und prüfen, ob die URL-Muster für eine bessere Kompatibilität erweitert werden können.

Danke @nbianca! Sag mir, wie ich helfen kann.