Releases: rinart73/lite-youtube-embed
Releases · rinart73/lite-youtube-embed
0.4.1
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
Breaking changes
- Change some CSS classes from
lty-*
tolyt-*
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
towww.youtube-nocookie.com
- Add a way to access YouTube Player API via the
api
attribute - Add
fetchPriority
toiframe
- Add support for playlists #1
- Add
ready
event that fires afteriframe
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