Releases: stamat/youtube-background
Releases · stamat/youtube-background
v1.0.21
fixed a vimeo blooper for setting start and end time. correct implementation of the resize observer. some work on reducing the reduncancy
Full Changelog: v1.0.20...v1.0.21
v1.0.20
Added and for regular videos. Fixed the issue where I used the wrong event for vimeo regarding the and . Now all instances have the same properties. ✨
Full Changelog: v1.0.19...v1.0.20
v1.0.19
- Vimeo iFrame API is no longer a part of the script, but it loads only if vimeo video is detected
- Fixed the issue with
maxresdefault.jpg
for youtube thumbnail #50 #12 #15 - Try catched intersection errors when player is not loaded yet
Full Changelog: v1.0.18...v1.0.19
v1.0.18
- Adds the volume setting #55 and a global variable for the index
VIDEO_BACKGROUNDS
when jQuery is being used, so one can access and update the volume programatically. - Fixed #42 issue where some residue code remained for Vimeo which was throwing an error when trying to set Vimeo poster
- Vimeo also got the option
load-background
, where the background will be loaded via https://vumbnail.com load-background
is set to false by default, responsive image element is prefered for the background which improves performance of the pageno-cookie
option added which is enabled by default. This forces Youtube and Vimeo not to track you with cookies. Kudos to @DejanS for the reminder #49- Youtube iFrame API script is loaded only once now and only if there is a Youtube video, requested in #43
- Various found improvements from the v1.0.17
Full Changelog: v1.0.17...v1.0.18
v1.0.17
Pause the videos when not visible
Full Changelog: v1.0.16...v1.0.17
v1.0.16
Vimeo background now has play/pause mute/unmute controls and start-at/end-at properties just like youtube backgrounds
Full Changelog: v1.0.15...v1.0.16
v1.0.15
introducing poops and I don't know some other fixes maybe? lol
What's Changed
- fix cdn references by @brandonjp in #47
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #39
New Contributors
- @brandonjp made their first contribution in #47
Full Changelog: 1.0.14...v1.0.15
v1.0.14
v1.0.13
v1.0.12
- Added partial support for Vimeo videos
- Added partial support for HTML5 videos
- Added optional ResizeObserver for recalculating video resolution and placement on resize of the containing element
- Next to
data-youtube
anddata-ytbg-
, it now acceptsdata-vbg
anddata-vbg-
attributes, this is a next step to transition this code to a more generalized version