Coder Social home page Coder Social logo

aplayer-typecho-plugin's Introduction

Hi, I'm gq 👋

A web developer, with a broad variety of other skills.
Building a CS-Learning Community called 0xFFFF in spare time.

aplayer-typecho-plugin's People

Contributors

hycinth22 avatar zgq354 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aplayer-typecho-plugin's Issues

启用插件后报错

Argument 1 passed to Typecho_Widget::push() must be of the type array, null given, called in /home/wwwroot/wwng/var/Widget/Abstract/Contents.php on line 762

对插件的新版本的想法

距离插件的发布已经一年多了,由于本人高考还有大学繁忙的学习等原因,插件的开发一直处于停滞状态,最近开始重拾这个项目,这是目前我对插件的新版本的大概的想法。

主要是为网站增加一个音乐库,插件的操作均基于这个音乐库来进行。

aplayer

准备采用wordpress的shortcode风格解析

[player url="http://xxx.com/xxx.mp3" artist="Someone"/]

[player url="http://xxx.com/xxx.mp3" artist="Someone"][lrc][00:00.00]Test lyrics[/lrc][/player]

[player]
[mp3 url="http://xxx.com/xxx.mp3"/]
[mp3 url="http://xxx.com/xxx.mp3"/]
[mp3 url="http://xxx.com/xxx.mp3"/]
.....
[/player]

启用后整个博客500error

看见之前issue有这个问题但是关了。求解
cache权限777,启用后所有页面500,单个文件访问不受影响,后台不受影响,禁用后立即恢复

无法解析网易URL问题

我本地测试没问题,但是扔上主机就无法解析网易音乐Url,提示Error happens,歌词和图片到没问题。
是需要什么扩展库才能吗?PHP 版本5.6

是否考虑添加其他缓存方式

比如mysql/redis/memcache方式。

主要是文件式缓存方式在无法写文件环境或者网站负载均衡环境下可能无法正常工作

可以把缓存部分逻辑剥离一下,做一个统一interface

目前需解决的问题

  1. ajax 异步加载播放列表
    默认是页面开始解析时侯加载列表,可能某些情况下会导致网页载入缓慢
  2. 缓存接口抽象化,将支持 file,memcache,数据库,redis 等缓存方式
  3. 编辑器中添加插入音乐按钮,方便添加音乐
  4. 虾米 api 解析

所以本插件未来可能会有较大的改动,敬请期待~

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.