Skip to content

Replace dependency on noembed with python-oembed and list of providers#110

Open
datakurre wants to merge 2 commits intomainfrom
no-more-noembed
Open

Replace dependency on noembed with python-oembed and list of providers#110
datakurre wants to merge 2 commits intomainfrom
no-more-noembed

Conversation

@datakurre
Copy link
Copy Markdown
Member

@datakurre datakurre commented Jan 15, 2021

Embed tile has been depending on noembed-service, defaulting to the public service at https://noembed.com/ without instructions on how to host that by yourself.

This is an attempt to get rid of that service with pre-configured python-oembed consumer.

If accepted, I am not sure is this patch or a breaking change. Noembed.com seem to be not maintained anymore and there are immediate issues with it, requiring at least some fix. But then again, completely replacing it with embedded implementation is a breaking change.

https://community.plone.org/t/mosaic-embed-youtube-broke-noembed-com/13327/12

@jensens
Copy link
Copy Markdown
Member

jensens commented Jan 18, 2021

Thanks! This LGTM. Just the test needs some work, right?

@datakurre
Copy link
Copy Markdown
Member Author

@jensens Yes. Tests and maybe also some real life tests that there is no regression. Although, this should support more oEmbed providers than noembed did 🤔

Also, as mentioned, I am not sure if this is a patch, feature or breaking change.

@jensens
Copy link
Copy Markdown
Member

jensens commented Jan 18, 2021

I would consider this as breaking. If someone run its own noembed server before it is no longer needed. So, it does not hurt to do a major release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants