MichaelDeBoey/gatsby-remark-embedder

Support Simplecast

Opened this issue · 6 comments

@MichaelDeBoey Few examples would be helpful.

I think I can add this enhancement with some assistance. Should I go ahead with this?

Thanks for the examples, @MichaelDeBoey.

I have noticed this one thing. Take this for example. One could click on "embed" and copy-paste the embed code in their markdown file.

Embed code:

<iframe height="200px" width="100%" frameborder="no" scrolling="no" seamless src="https://player.simplecast.com/a7758440-645a-457e-bd6a-d755641bb4f7?dark=false"></iframe>

I can make this work: Add https://player.simplecast.com/a7758440-645a-457e-bd6a-d755641bb4f7?dark=false to markdown and it renders the embed code.

However I don't know how to get https://player.simplecast.com/a7758440-645a-457e-bd6a-d755641bb4f7?dark=false from https://unqualified.simplecast.com/episodes/thomas-middleditch -- is there an API documentation for this? Do we want to add this support when one could literally copy-paste the embed code and make it work?

@acagastya I want to support both URLs

You'll need to figure out a way to convert https://unqualified.simplecast.com/episodes/thomas-middleditch to https://player.simplecast.com/a7758440-645a-457e-bd6a-d755641bb4f7 though

Okay -- I will try it out after YouTube, if that is okay!

Any help is welcome, so you can do it in the order you like to 🙂