Skip to content

0.3.1

Compare
Choose a tag to compare
@rinart73 rinart73 released this 19 May 23:06
· 9 commits to master since this release

Breaking changes

  • Change some CSS classes from lty-* to lyt-* for uniformity
  • Change posters from background images to lazy loaded JPG + WebP picture + img tags

Features

  • Add global config variable that allows to override defaults or enable additional features
  • Add optional poster fallbacks
  • Add optional title in the top left corner
  • Change domain from www.youtube.com to www.youtube-nocookie.com
  • Add a way to access YouTube Player API via the api attribute
  • Add fetchPriority to iframe
  • Add support for playlists #1
  • Add ready event that fires after iframe creation

Fixes

  • Fix invalid style border: none
  • (probably) Fix "Failed to execute 'postMessage'"

Other

  • Rewrite in TypeScript
  • Add minified versions of JS and CSS files