diff --git a/README.md b/README.md index d2dd33c..1cb02e1 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,9 @@ - Set the `start` attribute to start at a particular place in a video - You can set `autoload` to use Intersection Observer to load the iframe when scrolled into view. - Loads placeholder image as WebP with a Jpeg fallback +- _new in v1.1_: Adds `nocookie` attr for use with use youtube-nocookie.com as iframe embed uri +- _new in v1.2_: Adds `playlistid` for playlist loading interface support +- _new in v1.3_: Adds `loading=lazy` to image placeholder for more perf with `posterloading` attr if you'd like to use eager ## Install @@ -42,7 +45,7 @@ import '@justinribeiro/lite-youtube'; If you want the paste-and-go version, you can simply load it via CDN: ```html - + ``` ## Basic Usage diff --git a/package.json b/package.json index 05ce8d2..85e8ff0 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "lite-youtube.js.map" ], "license": "MIT", - "version": "1.2.0", + "version": "1.3.0", "main": "lite-youtube.js", "module": "lite-youtube.js", "types": "lite-youtube.d.ts",