diff --git a/README.md b/README.md index c1bac69..2b465ba 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ - _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 - _new in v1.4_: Adds `short` attr for enabling experimental YouTube Shorts mobile interaction support. See (example video)[https://www.youtube.com/watch?v=aw7CRQTuRfo] for details. +- _new in v1.5_: Adds support for nonce attribute via `window.liteYouTubeNonce` for CSP 2/3 support. ## Install via package manager @@ -46,7 +47,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 058c5a8..3b74bc1 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "lite-youtube.js.map" ], "license": "MIT", - "version": "1.4.0", + "version": "1.5.0", "type": "module", "main": "lite-youtube.js", "module": "lite-youtube.js",