oembetter
Advanced tools
Changelog
1.0.0
renamed the whitelist
and suggestedWhitelist
properties to allowlist
and suggestedAllowlist
, respectively. Also introduced support for options.headers
.
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.22
fixed URL parsing bugs impacting use of preconfigured endpoints that already contain some query string parameters.
Changelog
0.1.20
fixed a nuisance error that was appearing when Facebook was present but window
was not the default object.
Changelog
0.1.19
unnecessary Facebook API logic was running on non-Facebook embeds due to a syntax mistake in 0.1.17.
Changelog
0.1.18
report HTTP errors properly rather than attempting to parse a nonexistent JSON body. Also, always try/catch when parsing JSON and report the exception as the callback error if necessary.
Changelog
0.1.17
Facebook oembed filter works regardless of whether Facebook's API has been initialized yet or not.