You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
3.7 KiB
90 lines
3.7 KiB
<p align="center">
|
|
<img src="https://github.com/SevenOutman/vue-aplayer/blob/develop/src/assets/vue-aplayer-round.png" alt="Vue-APlayer" width="100">
|
|
</p>
|
|
<h1 align="center">Vue-APlayer</h1>
|
|
|
|
> Vue implementation of [APlayer](https://github.com/MoePlayer/APlayer) prototype.
|
|
[**Demo**](https://sevenoutman.github.io/vue-aplayer)
|
|
|
|
|
|
[](https://travis-ci.org/SevenOutman/vue-aplayer)
|
|
[](https://www.npmjs.com/package/vue-aplayer)
|
|
[](https://www.npmjs.com/package/vue-aplayer)
|
|
[](https://david-dm.org/SevenOutman/vue-aplayer#info=devDependencies)
|
|
|
|
[](https://hubble.js.org/#/?owner=SevenOutman&repo=vue-aplayer&start)
|
|
[](https://github.com/SevenOutman/vue-aplayer/commits/develop)
|
|
[](https://github.com/SevenOutman/vue-aplayer/commits/develop)
|
|
[](https://github.com/SevenOutman/vue-aplayer/network/dependents?dependent_type=REPOSITORY)
|
|
[](https://discord.gg/e3SeMJE)
|
|
|
|

|
|
|
|
|
|
### Features
|
|
- Beautiful clean UI
|
|
- Lyrics scroll
|
|
- Playlist with repeat & shuffle controls
|
|
- Custom theme color / Self-adapting theme color
|
|
- Drag and place anywhere
|
|
- Mutex play
|
|
- HLS support
|
|
- **Easy props and API**
|
|
- **Dependency free** and light-weight (gzipped 16KB)
|
|
|
|
Using Vue-APlayer in your project? [Let me know!](https://github.com/SevenOutman/vue-aplayer/issues/26)
|
|
|
|
|
|
## Usage
|
|
|
|
```HTML
|
|
<aplayer autoplay
|
|
:music="{
|
|
title: 'secret base~君がくれたもの~',
|
|
artist: 'Silent Siren',
|
|
src: 'https://moeplayer.b0.upaiyun.com/aplayer/secretbase.mp3',
|
|
pic: 'https://moeplayer.b0.upaiyun.com/aplayer/secretbase.jpg'
|
|
}"
|
|
/>
|
|
```
|
|
[**Full documentation**](https://github.com/SevenOutman/vue-aplayer/blob/develop/docs/README.md)
|
|
|
|
[**中文文档**](https://github.com/SevenOutman/vue-aplayer/blob/develop/docs/README.zh-CN.md)
|
|
|
|
|
|
## Changelog
|
|
|
|
Detailed changes fro each release are documented in the [release notes](https://github.com/SevenOutman/vue-aplayer/releases).
|
|
|
|
|
|
## Contribution
|
|
|
|
Feel free to [open an issue](https://github.com/SevenOutman/vue-aplayer/issues) if you find a bug or have a nice idea.
|
|
|
|
[PRs are welcome](https://github.com/SevenOutman/vue-aplayer/blob/master/docs/README.md#contribute).
|
|
|
|
|
|
## The name
|
|
|
|
- When referring to `Vue-APlayer`, the name should be written in exactly the same case.
|
|
- When referring to its versions, either `Vue-APlayer@1.x` (GitHub) or `vue-aplayer@1.x` (npm) is fine.
|
|
|
|
|
|
## Related projects
|
|
|
|
- [APlayer](https://github.com/MoePlayer/APlayer): Prior art
|
|
- [@moefe/vue-aplayer](https://github.com/MoePlayer/vue-aplayer): Another Vue implementation of APlayer by [@u3u](https://github.com/u3u)
|
|
|
|
|
|
## Thanks
|
|
|
|
[@DIYgod](https://github.com/DIYgod), for creating APlayer and sharing cloud storage for hosting Vue-APlayer's demo page media resources.
|
|
|
|
|
|
## License
|
|
|
|
Vue-APlayer is [MIT Licensed](https://github.com/SevenOutman/vue-aplayer/blob/master/LICENSE).
|
|
|
|
Copyright (c) 2016-present Shenghao "Doma" Lei
|
|
|