Changelog
0.1.9
the new endpoints
option allows you to configure custom oembed API endpoints for services that don't advertise an endpoint or advertise it incorrectly.
Changelog
0.1.7-0.1.8
support SoundCloud. Added it to the suggested allowlist and added tolerance for their incorrect JSON content type.
Changelog
0.1.7-0.1.8
support SoundCloud. Added it to the suggested allowlist and added tolerance for their incorrect JSON content type.
Changelog
0.1.6
security improvement:
reject all URLs that are not http:
or https:
completely, right up front. This means you don't have to protect against these obvious hacks in your before
and after
handlers.
Changelog
0.1.4
if the URL leads to a page with no oembed metadata, look for a link rel="canonical"
tag and try that URL instead. Don't pursue this more than one step.
Also, specify a user agent so that certain hosts don't give us watered-down HTML.