Skip to content

Releases: rinart73/lite-youtube-embed

0.4.1

24 May 16:27
Compare
Choose a tag to compare

Breaking changes

  • Change default play button text priority. It no longer overwrites the playlabel attribute.

Fixes

  • Fix #3 - when element is moved it is processed again which results in duplicating children.
  • Fix existing .lyt-poster-container not being respected.
  • Fix missing videoId attribute leading to a broken YouTube poster. Currently no poster will be created.

Features

  • #2 - Add partial support for changing the following attributes: videoid, playlistid, playlabel, showtitle, params.

0.3.1

19 May 23:06
Compare
Choose a tag to compare

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