目前情况的,文件能够成功读取到。但是一但播放动画就会出报错
我的代码是参照官方文档的如下
<script src="https://unpkg.com/@esotericsoftware/spine-player@4.1.*/dist/iife/spine-player.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@esotericsoftware/spine-player@4.1.*/dist/spine-player.css">
<div id="player-container" style="width: 100%; height: 100vh;"></div>
<script>
new spine.SpinePlayer("player-container", {
jsonUrl: "10030_skin_Wolframite03/10030_skin_Wolframite03.skel",
atlasUrl: "10030_skin_Wolframite03/10030_skin_Wolframite03.atlas"
});
</script>
官方代码链接
https://zh.esotericsoftware.com/spine-player#Spine-Web-Player