Giter Club home page Giter Club logo

Comments (9)

grzhan avatar grzhan commented on May 26, 2024

hexo-tag-aplayer 生成的代码似乎没有问题
不知道是不是 APlayer.js 对于歌词的 URL 加载有限制或者要求
@DIYgod

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 26, 2024

应该是这边 LRC Option 没对应导致的
这几天修复

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 26, 2024

请更新到最新版本的 hexo-tag-aplayer,查看问题是否存在。
若仍然存在问题,请提供浏览器控制台(Console)中记录的错误信息

from hexo-tag-aplayer.

MonoLogueChi avatar MonoLogueChi commented on May 26, 2024

还是没有解决问题,页面地址为https://www.xxwhite.com/2018/YHKindergarten.html

console错误信息

Failed to load https://t1.aixinxi.net/o_1c4ckse89kial1s18ue13051p8qa.txt: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.xxwhite.com' is therefore not allowed access.

from hexo-tag-aplayer.

kn007 avatar kn007 commented on May 26, 2024

console不是写得很清楚,因为什么了么。

from hexo-tag-aplayer.

MonoLogueChi avatar MonoLogueChi commented on May 26, 2024

@kn007 但是要怎么解决跨域请求的问题呢

from hexo-tag-aplayer.

kn007 avatar kn007 commented on May 26, 2024

console写得很清楚。

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 26, 2024

@MonoLogueChi 跨域限制是浏览器为了防止诸如 CSRF 等攻击所采取的安全措施,如果歌词文件是遇到跨域问题,请考虑将歌词文件放到同源网站(如 https://www.xxwhite.com )再进行请求,或者如果有歌词文件所在服务器的权限,请在歌词文件资源返回的 HTTP 头中添加 Access-Control-Allow-Origin 字段。

from hexo-tag-aplayer.

instpe avatar instpe commented on May 26, 2024

歌词不能直接通过访问资源拿到吗 头像什么的也不需要开启post assets 原理不能弄成一样的嘛

from hexo-tag-aplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.