Use lottie-web and svga instead of npmjs

This commit is contained in:
ema
2025-07-05 09:50:54 +08:00
parent 007b960019
commit 4c3bf23e67
10 changed files with 19 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
# Ignore HTML files in Resources and subdirectories
Resources/**/*.html linguist-vendored
# Ignore CSS files in Resources and subdirectories
Resources/**/*.css linguist-vendored
# Ignore JS files in Resources and subdirectories
Resources/**/*.js linguist-vendored

View File

@@ -92,7 +92,7 @@
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Web\*">
<EmbeddedResource Include="Resources\Web\**\*">
<LogicalName>QuickLook.Plugin.ImageViewer.Resources.%(RecursiveDir)%(Filename)%(Extension)</LogicalName>
</EmbeddedResource>
</ItemGroup>

File diff suppressed because one or more lines are too long

View File

@@ -19,7 +19,8 @@
</head>
<body>
<div id="bm"></div>
<script src="https://unpkg.com/lottie-web/build/player/lottie.min.js"></script>
<script src="lottie2html.js"></script>
<!--<script src="https://unpkg.com/lottie-web/build/player/lottie.min.js"></script>-->
<script src="lottie-web/lottie.min.js"></script>
<script src="js/lottie2html.js"></script>
</body>
</html>

View File

@@ -24,6 +24,6 @@
<div id="svgContainer">
<div id="svgWrapper"></div>
</div>
<script src="svg2html.js"></script>
<script src="js/svg2html.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -18,7 +18,8 @@
</head>
<body>
<canvas id="canvas"></canvas>
<script src="https://unpkg.com/svga/dist/index.min.js"></script>
<script src="svga2html.js"></script>
<!--<script src="https://unpkg.com/svga/dist/index.min.js"></script>-->
<script src="svga/index.min.js"></script>
<script src="js/svga2html.js"></script>
</body>
</html>