-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathverysimplelottieplayer.html
39 lines (39 loc) · 1.64 KB
/
verysimplelottieplayer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Application to demonstrate the use of the Simple Lottie Player">
<meta name="author" content="Carlos A.">
<title>Very Simple Lottie Files Player</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.10.2/lottie_svg.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="js/simplelottieplayer.js"></script>
<style>
html, body {
height: 100%;
}
</style>
</head>
<body class="text-center d-flex flex-column">
<div class="w-100">
<div class="mx-3 d-flex px-3 pt-3">
<h1 class="mt-auto">Simple LottieFile Player</h1>
<div class="ms-auto my-auto">
<a class="btn btn-outline-light" href="https://github.com/dealfonso/simplelottieplayer" target="_blank"><i class="bi bi-github pe-2"></i>view in github</a>
</div>
</div>
</div>
<simplelottie class="rounded-2 border border-white m-auto"
autosize="true"
css-class-control-buttons=""
control-buttons
fullsize-button
autoplay
loop
max-height="300"
url="https://assets6.lottiefiles.com/packages/lf20_fj8rlma5.json"></simplelottie>
<footer class="text-white-50">
<p>© Carlos A. - <a href="https://github.com/dealfonso" target="_blank">https://github.com/dealfonso</a></p>
</footer>
</body>