Comments (9)
从 hexo-tag-aplayer
生成的代码似乎没有问题
不知道是不是 APlayer.js 对于歌词的 URL 加载有限制或者要求
@DIYgod
from hexo-tag-aplayer.
应该是这边 LRC Option 没对应导致的
这几天修复
from hexo-tag-aplayer.
请更新到最新版本的 hexo-tag-aplayer,查看问题是否存在。
若仍然存在问题,请提供浏览器控制台(Console)中记录的错误信息
from hexo-tag-aplayer.
还是没有解决问题,页面地址为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.
console不是写得很清楚,因为什么了么。
from hexo-tag-aplayer.
@kn007 但是要怎么解决跨域请求的问题呢
from hexo-tag-aplayer.
console写得很清楚。
from hexo-tag-aplayer.
@MonoLogueChi 跨域限制是浏览器为了防止诸如 CSRF 等攻击所采取的安全措施,如果歌词文件是遇到跨域问题,请考虑将歌词文件放到同源网站(如 https://www.xxwhite.com )再进行请求,或者如果有歌词文件所在服务器的权限,请在歌词文件资源返回的 HTTP 头中添加 Access-Control-Allow-Origin
字段。
from hexo-tag-aplayer.
歌词不能直接通过访问资源拿到吗 头像什么的也不需要开启post assets 原理不能弄成一样的嘛
from hexo-tag-aplayer.
Related Issues (20)
- 配合meting和netease播放某些曲目時報錯 HOT 1
- LRC文件必须使用绝对地址,否则会报错
- 如何手动清理 APlayer 全局实例?
- DPlayer packed APK video cannot be played HOT 2
- 使用这个插件播放音乐会设计到侵权么
- Autoplay doesn't work in Chrome and Edge's newer browsers
- meting怎么突然用不了了
- 这个东西为什么是空白的啊...... HOT 1
- 为什么这个东西是空白的啊...... HOT 7
- 这个插件今天突然在我的网站上失效了 HOT 1
- 为啥安装不成功呀?
- 播放器在本地可以正常加载,但是部署到github page就报错(aplayer.min.js报错) HOT 2
- api.i-meto.com ssl证书过期,导致服务不可用 (20220926 07:59:59 过期) HOT 2
- 单曲播放正常但列表不行 HOT 1
- 突然就不显示了 HOT 17
- 无法在Hexo文章页面调用 HOT 2
- 中午的时候aplayer显示,下午就不显示了 HOT 22
- 请问如何设置歌词默认不显示? HOT 1
- 希望增加夜间模式
- hexo-blog-encrypt 与 hexo-tag-aplayer 的兼容问题 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-tag-aplayer.