@lottiefiles/lottie-player
Advanced tools
Comparing version 1.5.6 to 1.5.7
@@ -6,2 +6,16 @@ # Changelog | ||
## [1.5.7](https://github.com/LottieFiles/lottie-player/compare/v1.5.6...v1.5.7) (2022-04-25) | ||
### Bug Fixes | ||
* **player:** add isConnected check to disconnectedCallback ([496dc8f](https://github.com/LottieFiles/lottie-player/commit/496dc8f554df392924c3aa668ac6119729afed61)) | ||
## [1.3.1](https://github.com/LottieFiles/lottie-player/compare/v1.3.0...v1.3.1) (2022-02-22) | ||
### Bug Fixes | ||
* fixed reversed playback, fixed bounce autoplay, updated readme with missing property ([1fa0f44](https://github.com/LottieFiles/lottie-player/commit/1fa0f4457ae00af9ae05e1ca4cb8e2cb83e3a227)) | ||
# [1.3.0](https://github.com/LottieFiles/lottie-player/compare/v1.2.1...v1.3.0) (2021-12-16) | ||
@@ -8,0 +22,0 @@ |
{ | ||
"name": "@lottiefiles/lottie-player", | ||
"version": "1.5.6", | ||
"version": "1.5.7", | ||
"description": "Lottie animation and Telegram Sticker player web components.", | ||
@@ -5,0 +5,0 @@ "main": "dist/lottie-player.js", |
@@ -27,3 +27,3 @@ ## lottie-player Web Component | ||
```html | ||
<script src="https://unpkg.com/@lottiefiles/lottie-player@0.4.0/dist/lottie-player.js"></script> | ||
<script src="https://unpkg.com/@lottiefiles/lottie-player@1.5.7/dist/lottie-player.js"></script> | ||
``` | ||
@@ -92,8 +92,10 @@ | ||
const player = document.querySelector("lottie-player"); | ||
player.load("https://assets3.lottiefiles.com/packages/lf20_UJNc2t.json"); | ||
// or load via a Bodymovin JSON string/object | ||
player.load( | ||
'{"v":"5.3.4","fr":30,"ip":0,"op":38,"w":315,"h":600,"nm":"new", ... }' | ||
); | ||
player.addEventListener("rendered", (e) => { | ||
//Load via URL | ||
player.load("https://assets3.lottiefiles.com/packages/lf20_UJNc2t.json"); | ||
// or load via a Bodymovin JSON string/object | ||
player.load( | ||
'{"v":"5.3.4","fr":30,"ip":0,"op":38,"w":315,"h":600,"nm":"new", ... }' | ||
); | ||
}); | ||
``` | ||
@@ -247,3 +249,2 @@ | ||
## Community & Support | ||
@@ -317,3 +318,2 @@ | ||
</table> | ||
@@ -320,0 +320,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6348493