shobhitsharma / embedo

Embeds third party content to DOM with perks 🧙‍♀️ (7kb gzip / standalone)
https://shobhitsharma.github.io/embedo
MIT License
347 stars 32 forks source link

adding new providers? (sproutvideo) #18

Closed meecect closed 5 years ago

meecect commented 5 years ago

How would I go about adding a new provider?

In particular I was interested in adding support for SproutVideo. Here is an example of how embedly does it:

https://embed.ly/code?url=https%3A%2F%2Fcooking-show.vids.io%2Fvideos%2Fa49ddeb31a1be4c42c%2Fclassic-cooking-lessons-hosting-a-dinner-party

shobhitsharma commented 5 years ago

@meecect As I read from SproutVideo embed docs, they just give simple URL to embed, which should work out-of-box if you use it as described using fallback iframe renderer of embedo.

Try to paste:

https://videos.sproutvideo.com/embed/709adcb31f19e5c6f8/cd8cf2e796aa69d3

into embedo's demo page and see result.