nicolashmln / strapi-plugin-oembed

Embed content from third party sites (Youtube, Vimeo, Soundcloud, ...) in Strapi
76 stars 21 forks source link

Feature Request: Generic oembed source #6

Open sapkra opened 3 years ago

sapkra commented 3 years ago

It would be great if the plugin could accept more sources. The best solution would be to have a UI or place in the strapi project to configure new parsers.

Example

https://api.datawrapper.de/v3/oembed?format=json&url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FWpAbK%2F2%2F

Base URL Input: https://api.datawrapper.de/v3/oembed?format=json&url= Matching Domains: datawrapper.dwcdn.net

You could match them by

new URL('https://datawrapper.dwcdn.net/WpAbK/2/').hostname
7azin commented 1 year ago

maybe with the help of this package? https://github.com/extractus/oembed-extractor