@lottiefiles/lottie-player 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lottiefiles/lottie-player",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Lottie animation and Telegram Sticker player web components.",
5
5
  "main": "dist/lottie-player.js",
6
6
  "module": "dist/lottie-player.esm.js",
package/dist/index.html DELETED
@@ -1,49 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta
6
- name="viewport"
7
- content="width=device-width, initial-scale=1.0, viewport-fit=cover"
8
- />
9
- <title>lottie-player web component</title>
10
- </head>
11
-
12
- <body>
13
- <div style="height: 600px; background-color: beige">
14
- <lottie-player
15
- id="player0"
16
- autoplay
17
- controls
18
- count="2"
19
- loop
20
- speed="1"
21
- mode="normal"
22
- style="width: 100%"
23
- webworkers="true"
24
- src="https://assets5.lottiefiles.com/packages/lf20_tl5nafup.json"
25
- >
26
- </lottie-player>
27
- </div>
28
-
29
- <tgs-player
30
- autoplay
31
- controls
32
- loop
33
- style="width: 320px"
34
- src="./sticker.tgs"
35
- speed="1"
36
- mode="normal"
37
- >
38
- </tgs-player>
39
-
40
- <script src="./lottie-player.js"></script>
41
- <script src="./tgs-player.js"></script>
42
- <script>
43
- var player = document.getElementById("player0");
44
- player.addEventListener("error", function (e) {
45
- console.log("errorrr");
46
- });
47
- </script>
48
- </body>
49
- </html>
package/dist/sticker.tgs DELETED
Binary file