svga / SVGAPlayer-Web

Similar to Lottie. Render After Effects / Animate CC (Flash) animations natively on Android and iOS, Web. 使用 SVGAPlayer 在 Android、iOS、Web中播放 After Effects / Animate CC (Flash) 动画。
https://svga.io
Apache License 2.0
954 stars 239 forks source link

svga 1.x support failed because jszip.min.js failed to load #168

Open shotforsky opened 2 years ago

shotforsky commented 2 years ago

Issue Description

According To README, we should load jszip to support svga 1.x image

But now the JS failed to load.

How To Reappear

Use your browser to access the JS link, dev tools would show the response as following:

https://s1.yy.com/ued_web_static/lib/jszip/3.1.4/??jszip.min.js,jszip-utils.min.js

image

This means the JS failed to load, please look at this issue.

Any Attachment

N/A

Others

For those who came to the same issue as me, try following as a temporary replacement:

<script src="https://cdn.jsdelivr.net/npm/jszip@3.1.4/dist/jszip.min.js" charset="utf-8"></script>
<script src="https://cdn.jsdelivr.net/npm/jszip-utils@0.1.0/dist/jszip-utils.min.js" charset="utf-8"></script>