Comments (9)
你好,抱歉这么久才回复。
当前版本的 hexo-tag-aplayer
暂时只支持在文章页加载 aplayer.js
而目前在开发的 3.0
版本将支持非文章页的加载,
该版本将不日发布,届时如果碰到问题欢迎在这里报告
from hexo-tag-aplayer.
@grzhan 请问如何才能在文章页以外的地方使用aplay播放音乐。
from hexo-tag-aplayer.
@TranchBellic @xzy997
请提供您使用的主题,一般来说 Hexo 通过插件来插入代码具有一定局限性
另外可以考虑直接在主题的侧边栏代码中直接添加 Aplayer 的调用代码
from hexo-tag-aplayer.
请问aplayer现在能添加到文章外的页面了吗? @grzhan
from hexo-tag-aplayer.
同样有这个需求,建议是可以通过参数配置的方式,在网页的左下角固定位置(距离宜调整好)可以加载该播放器的插件,插件同样支持歌单的效果。
from hexo-tag-aplayer.
@grzhan 请问该怎么调用呢?直接“{%”开头的那个放入_sidebar.swig文件中吗?似乎没效果诶
from hexo-tag-aplayer.
@JadeVane @myoumeng 在md里插入播放器后你们去看生成的html文件。直接复制那段代码到你想要的地方,改下歌单id就好了
from hexo-tag-aplayer.
@JadeVane @myoumeng 在md里插入播放器后你们去看生成的html文件。直接复制那段代码到你想要的地方,改下歌单id就好了
对于像我这样不懂前端的人来说有一点难度,插入hexo的html的哪个地方也不清楚,希望能有个步骤教程
我在用MeingJS的方式引入播放器到hexo中
想实现https://aplayer.js.org/#/首页 左下角那个播放器的样子
你好,抱歉这么久才回复。
当前版本的hexo-tag-aplayer
暂时只支持在文章页加载aplayer.js
而目前在开发的3.0
版本将支持非文章页的加载,
该版本将不日发布,届时如果碰到问题欢迎在这里报告
请问现在可以实现了吗
from hexo-tag-aplayer.
@JadeVane @myoumeng 在md里插入播放器后你们去看生成的html文件。直接复制那段代码到你想要的地方,改下歌单id就好了
对于像我这样不懂前端的人来说有一点难度,插入hexo的html的哪个地方也不清楚,希望能有个步骤教程
我在用MeingJS的方式引入播放器到hexo中
想实现https://aplayer.js.org/#/首页 左下角那个播放器的样子你好,抱歉这么久才回复。
当前版本的hexo-tag-aplayer
暂时只支持在文章页加载aplayer.js
而目前在开发的3.0
版本将支持非文章页的加载,
该版本将不日发布,届时如果碰到问题欢迎在这里报告请问现在可以实现了吗
早就可以了,把aplayer的代码插入到你主题的模板里就可以。
https://aplayer.js.org/#/首页 左下角那个播放器的样子是开启了吸底模式。
<div id="aplayer-hjnObCgk" class="aplayer aplayer-tag-marker meting-tag-marker" data-id="2382854733" data-server="netease" data-type="playlist" data-order="random" data-lrctype="false" data-listfolded="true" data-fixed="false" data-autoplay="false" data-volume="0.4" data-mutex="true" data-listmaxheight="200px" data-preload="none" data-theme="#00b9f1"></div>
data后面的就是属性,你参考文档自己改就是,这样弄的前提是博客安装了aplayer插件。播放器要全局的话就插入到主题模板的body最下面就是(如果是开启吸底模式)
主题模板的文件都搞不清那就先搞懂再折腾。
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.