Skip to content

v1.0.22

Compare
Choose a tag to compare
@stamat stamat released this 06 Nov 17:59
· 96 commits to master since this release
  • Moved majority of redundant code in a superclass
  • Fixed issues with disabling on mobile #53
  • Fixed UID to match the correct ID/Class name rule, ID and class names shouldn't start with a numbe. UIDs now contain the video ID or video filename sanitized as a class name.
  • get function of the factory class VideoBackgrounds, so we can externalize the controls
  • Player now gets visible only if the play runs, which means if the autoplay fails the player won't hang in there frozen
  • State propety, and state events. All are synced with YouTube state changes, though the YouTube instance got a simlated timeupdate event. More on the events usage can be found in the README.md. Solves the issues on: #51
  • Duration property of the instances and core functionality for enabling the seek bar constuction
  • Added lazyloading option. Thanks for the reminder @jiang-yuan in the issue you submitted #37
  • force-on-low-battery, I've got startled that the script didin't work all of a sudden on mobile iOS, turned out I had a low battery... I've added a setting that will run the videos on the first user interaction if enabled so your background can run even if the autoplay is disabled by the low battery.
  • Like so many small fixes, renames, moving arround... I've lost count...

Full Changelog: v1.0.21...v1.0.22