fghrsh / live2d_demo

Live2D 看板娘插件 (https://www.fghrsh.net/post/123.html) 的前端 HTML 源码
https://live2d.fghrsh.net
GNU General Public License v2.0
1.39k stars 248 forks source link

呜呜呜,主页用得了,博客页没有了 #8

Open likeUMR opened 3 years ago

likeUMR commented 3 years ago

作为一个小白,没有什么插件/教程比这个更有好了,我非常喜欢! 但是我在使用自己的模型是,只能在首页成功显示,在其他页面插件应该是加载了,点击区域也有点击效果,但是模型没加载,所以看不见人。用默认的模型就正常,为什么自己的模型就不行了呢? 报错:likeumr.com/:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at live2d.js?ver=5.8:formatted:14670 at live2d.js?ver=5.8:formatted:9536 at XMLHttpRequest.i.onload (live2d.js?ver=5.8:formatted:9522) 我真的好像用小此的看板娘啊,希望大佬能指点一下,是模型自己的问题吗?可是首页成功加载了啊,我晕。

主页log

JQMIGRATE: Migrate is installed, version 3.3.2 live2d.js?ver=5.8:1 Live2D 2.1.00_1 live2d.js?ver=5.8:1 profile : Desktop live2d.js?ver=5.8:1 [PROFILE_NAME] = Desktop live2d.js?ver=5.8:1 [USE_ADJUST_TRANSLATION] = false live2d.js?ver=5.8:1 [USE_CACHED_POLYGON_IMAGE] = false live2d.js?ver=5.8:1 [EXPAND_W] = 2 waifu-tips.js?ver=5.8:5 /x/WP-Live2D 1.7.7 likeumr.com/:93 [Intervention]Images loaded lazily and replaced with placeholders. Load events are deferred. See https://go.microsoft.com/fwlink/?linkid=2048113 live2d.js?ver=5.8:1 [CSM][I]Live2D Cubism Core version: 04.01.0000 (67174400)

live2d.js?ver=5.8:1 [CSM][I]CubismFramework.startUp() is complete.

live2d.js?ver=5.8:1 [CSM][I]CubismFramework.initialize() is complete.

live2dcubismcore.min.js:9 Live2D Cubism SDK Core Version 4.1.0

其他页面(加载失败)log

JQMIGRATE: Migrate is installed, version 3.3.2 live2d.js?ver=5.8:1 Live2D 2.1.00_1 live2d.js?ver=5.8:1 profile : Desktop live2d.js?ver=5.8:1 [PROFILE_NAME] = Desktop live2d.js?ver=5.8:1 [USE_ADJUST_TRANSLATION] = false live2d.js?ver=5.8:1 [USE_CACHED_POLYGON_IMAGE] = false live2d.js?ver=5.8:1 [EXPAND_W] = 2 waifu-tips.js?ver=5.8:5 /x/WP-Live2D 1.7.7 likeumr.com/:89 [Intervention]Images loaded lazily and replaced with placeholders. Load events are deferred. See https://go.microsoft.com/fwlink/?linkid=2048113 VM930:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse () at live2d.js?ver=5.8:1 at live2d.js?ver=5.8:1 at XMLHttpRequest.i.onload (live2d.js?ver=5.8:1) (匿名) @ live2d.js?ver=5.8:1 (匿名) @ live2d.js?ver=5.8:1 i.onload @ live2d.js?ver=5.8:1 load(异步) loadBytes @ live2d.js?ver=5.8:1 loadString @ live2d.js?ver=5.8:1 window.loadlive2d @ live2d.js?ver=5.8:1 loadModel @ waifu-tips.js?ver=5.8:170 initModel @ waifu-tips.js?ver=5.8:144 (匿名) @ (索引):736 e @ jquery.min.js?ver=3.6.0:2 t @ jquery.min.js?ver=3.6.0:2 setTimeout(异步) (匿名) @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 fireWith @ jquery.min.js?ver=3.6.0:2 fire @ jquery.min.js?ver=3.6.0:2 c @ jquery.min.js?ver=3.6.0:2 fireWith @ jquery.min.js?ver=3.6.0:2 ready @ jquery.min.js?ver=3.6.0:2 B @ jquery.min.js?ver=3.6.0:2

使用wordpress插件 live2d

使用live2d模型:https://www.bilibili.com/video/BV1Nh411r7XD/?spm_id_from=333.788.recommend_more_video.4

liuwangdao commented 2 years ago
Githubissues.
  • Githubissues is a development platform for aggregating issues.