Coder Social home page Coder Social logo

Comments (18)

grzhan avatar grzhan commented on May 25, 2024 1

[email protected] 已支持播放列表。

文档已更新,请测试使用,如有问题请报告。

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

看了下,应该不难实现,这周可以搞下。

预计是用形如{% aplayerlist %} ... {% endaplayerlist %} 这样的 tag 来做

from hexo-tag-aplayer.

yizhilee avatar yizhilee commented on May 25, 2024

嗯,感谢,最好能支持随机播放。

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

应该不需要

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

@yizhilee 你好,请问新版本的播放列表是否可以正常使用?如果可以的话我就开始考虑发正式版本了。

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

@yizhilee 在博客所在的文件夹安装 npm install --save [email protected]

如果 hexo 生成博客失败(hexo g),请把错误信息发出来

from hexo-tag-aplayer.

yizhilee avatar yizhilee commented on May 25, 2024

@grzhan 成功安装之后单曲可以看到播放器,列表貌似没有生效。

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

@yizhilee 请参照README中的with playlist (new in 2.0)来创建 aplayer 播放列表。

基本上就是{%aplayerlist%} options with json format {%endaplayerlist%} 这样的格式写法。

如果不生效,请打开浏览器的开发者工具,查看”控制台(console)“标签页下的错误信息并发给我。

from hexo-tag-aplayer.

yizhilee avatar yizhilee commented on May 25, 2024

@grzhan 就是按照 README 中的格式创建的,控制台也没有错误信息……

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

@yizhilee 如果可以的话把博客部署到线上我看下?

from hexo-tag-aplayer.

yizhilee avatar yizhilee commented on May 25, 2024

@grzhan 找到原因了,REDEME 里面的 autoplay 没加双引号……

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

@yizhilee 抱歉,现在可以正常播放了吗

from hexo-tag-aplayer.

yizhilee avatar yizhilee commented on May 25, 2024

@grzhan 可以了,歌词格式有什么要求吗,无法显示歌词。另外点击播放列表里的歌曲,第一次会出现“Error happens ╥﹏╥“但是可以正常播放,再点击就无法播放了。

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

一般 LRC 格式应该就可以了(http://blog.grr.moe/2015/12/04/CoCo/caffeine.txt

如果没有显示的话看看是不是showlrc选项的问题,如果使用相对 URL 路径来载入歌词(同 README 的示例格式)那么showlrc需要设置为 3 。

详情可以参考 http://aplayer.js.org/docs/#lrc-format

如果播放列表歌曲播放出现异常,请把”控制台(console)“标签页下的错误信息发给我(如果有),若没有,可能是 aplayer 的问题,我会排查并向 aplayer 的开发组核实。

from hexo-tag-aplayer.

yizhilee avatar yizhilee commented on May 25, 2024

@grzhan 歌词可以正常显示了;播放列表异常没有错误信息。

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

@yizhilee 多谢,尝试解决这个问题(或者向上游发 issue)之后应该会发正式版本。

from hexo-tag-aplayer.

yizhilee avatar yizhilee commented on May 25, 2024

@grzhan 部署在服务器上一切正常:https://blog.yizhilee.com/post/my-favourite-songs/ (第一个播放器是 163music-APlayer-you-get,第二个是 hexo-tag-aplayer),看来只有在本地会出现这个问题。

from hexo-tag-aplayer.

grzhan avatar grzhan commented on May 25, 2024

@yizhilee 了解,再次感谢你的协助。

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.