Mosaic embed youtube broke - noembed.com

I am sorry for this :frowning:

NOEMBED_ENDPOINT was always a module global in plone.app.standardtiles/plone/app/standardtiles/embed.py at master · plone/plone.app.standardtiles · GitHub so that it could be customized in policy package to point to local deployment, but of course that was never documented anywhere. Also, an environment variable could have been better choice. Module globals just were a convention back then.

Also, there was no obvious easy-to-use alternative, because available libraries were generic oEmbed libraries requiring some custom configuration for each supported service.

Fix for this particular Youtube issue is here Fix YouTube provider to use https instead of http by datakurre · Pull Request #5 · noembed/noembed · GitHub

With a little bit of love that tile could also support maxwidth and maxheight options supported by noembed.

2 Likes