Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

datakurre
Copy link
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
Member

jensens commented Jan 18, 2021

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

@datakurre
Copy link
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
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