# MetingJS
**Repository Path**: pixcat/MetingJS
## Basic Information
- **Project Name**: MetingJS
- **Description**: 给APlayer播放器加入网易云等支持
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 5
- **Forks**: 1
- **Created**: 2021-03-04
- **Last Updated**: 2024-08-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## CDN
- https://cdn.jsdelivr.net/npm/meting@2.0.1/dist/Meting.min.js
- https://unpkg.com/meting@2.0.1/dist/Meting.min.js
## 使用
```html
```
https://music.163.com/#/playlist?id=60198
```html
```
https://y.qq.com/n/yqq/song/001RGrEX3ija5X.html
```html
```
for self-hosted media
```html
[00:00.00]This
[00:04.01]is
[00:08.02]lyric
```
Fixed mode with Lyric text
## 配置
|参数 |默认值 |描述|
|:--------------------|:------------:|:----------|
|id |**require** |歌曲ID / 歌单ID / 专辑ID / 搜索关键词|
|server |**require** |platform: `netease`, `tencent`, `kugou`, `xiami`, `baidu`
音乐平台: `网易云`, `QQ音乐`, `酷狗`, `虾米`, `百度`|
|type |**require** |`song`, `playlist`, `album`, `search`, `artist`|
|auto |options |music link, support: `netease`, `tencent`, `xiami`|
|fixed |`false` |enable fixed mode|
|mini |`false` |enable mini mode|
|autoplay |`false` |audio autoplay|
|theme |`#2980b9` |main color|
|loop |`all` |player loop play, values: 'all', 'one', 'none'|
|order |`list` |player play order, values: 'list', 'random'|
|preload |`auto` |values: 'none', 'metadata', 'auto'|
|volume |`0.7` |default volume, notice that player will remember user setting, default volume will not work after user set volume themselves|
|mutex |`true` |prevent to play multiple player at the same time, pause other players when this player start play|
|lrc-type |`0` |lyric type|
|list-folded |`false` |indicate whether list should folded at first|
|list-max-height |`340px` |list max height|
|storage-name |`metingjs` |localStorage key that store player setting|
Documentation for APlayer can be found at https://aplayer.js.org/#/home?id=options
## Advanced
MetingJS allow you to use self-hosted API, [more information about Meting](https://github.com/metowolf/Meting).
```html
```
## Browser support
Browsers without [native custom element support](https://caniuse.com/#feat=custom-elementsv1) require a [polyfill](https://github.com/webcomponents/custom-elements).
- Chrome
- Firefox
- Safari
- Internet Explorer 11
- Microsoft Edge
## Author
**MetingJS** © [metowolf](https://github.com/metowolf), Released under the [MIT](./LICENSE) License.
> Blog [@meto](https://i-meto.com) · GitHub [@metowolf](https://github.com/metowolf) · Twitter [@metowolf](https://twitter.com/metowolf) · Telegram Channel [@metooooo](https://t.me/metooooo)