oembetter
Advanced tools
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.
Changelog
0.1.23
workaround for YouTube bug in which video pages contain http:
recommendations for oembed URLs, but an http:
request is rejected with a 403 error. Force https:
for YouTube.
Changelog
0.1.19
unnecessary Facebook API logic was running on non-Facebook embeds due to a syntax mistake in 0.1.17.