@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/CHANGELOG.md +39 -57
- package/dist/lottie-player.esm.js +36 -6752
- package/dist/lottie-player.esm.js.map +1 -1
- package/dist/lottie-player.js +61 -6787
- package/dist/lottie-player.js.map +1 -1
- package/dist/tgs-player.esm.js +186 -0
- package/dist/tgs-player.esm.js.map +1 -0
- package/dist/tgs-player.js +186 -0
- package/dist/tgs-player.js.map +1 -0
- package/package.json +1 -1
- package/dist/index.html +0 -49
- package/dist/sticker.tgs +0 -0
package/package.json
CHANGED
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
|