- Switch youtube API requests to HTTPS.
- Deps bump.
- Drop rutube.ru support (service become unuseable).
- Requires node.js v10+.
- Deps bump.
got
option is nowretry
instead ofretries
. - Removed callbacks support.
- Maintenance, deps bump.
got
v6 -> v7. Timout option may work a bit different but should not affect result.
- Improve player placeholder layout. All area should be clickable without JS.
- Reworked player layout to allow
max-width
use.
- API change: rewrite all methods to promises. You may need to update
.cache
methods. Callback in.info()
&.render()
are still supported but not recommended for use. - Added
option.request
(in constructor) to customize params of external requests been done by embedza. err.status
->err.statusCode
.- Live demo (serverless).
- Switch from
http
tohttps
for initial config download. - Deps bump.
- Fixed nasty typos, causing double callbacks call errors in some cases.
- Added SVG support and fractional values for media dimentions.
- Improved media dimentions validation for bad data.
- Maintenance release: deps bump.
- Allow
.webp
thumbnails at vimeo. - 100% tests coverage.
- Added
Promise
support. - Fix resolve resource URL-s without protocols (
//example.com
).
- Drop old nodes support (use es6).
- Deps update.
- Enchanced error info with
code
&status
properties. - Added missed rules to youtube & vimeo.
- Optimized vimeo fetcher to avoid bans (use OEMBED directly, without HTML fetch).
- Fixed invalid astrals encoding from youtube.
- Replaced image size catcher lib with
probe-image-size
.
- First release.