Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified: readme.md modified: vp.css modified: vp.js
- Loading branch information
Showing
4 changed files
with
80 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
# vPlayer | ||
- 轻量级播放器,支持3种显示模式 | ||
- 自适应,不占地,支持简单的CUE解析 | ||
- 不支持跨域,请LRC和CUE都PULL至自己的服务器 | ||
- 轻量级播放器,支持3种显示模式(最小化、卡片式、全屏) | ||
- 支持歌词(LRC),同时**注重性能**,500ms一次刷新 | ||
- **自适应**,不占地,支持简单的**CUE解析**(允许多个CUE) | ||
- 不支持跨域,请LRC和CUE都下载至自己的服务器 | ||
|
||
![PC](view/pc.png) | ||
|
||
![Phone](view/phone.png) | ||
|
||
## 用途 | ||
对于文件管理器(类似我的项目vList),**前端解析CUE**还是很不错的 | ||
然后设计之初只是想实现一遍(Github上很少有这类项目),仅此而已 | ||
|
||
## 使用 | ||
推送至vPlayer: `$vp.list.push(数据)` | ||
播放/暂停: `$vp.play(01:21[时间]或2[音乐ID]或干脆不填)` | ||
可以参考index.html的示例 | ||
示例(index.html)中已经贴出简单用法了 | ||
可以参考[文档](http://imzlh.top:81/vplayer/document.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters