• Stars
    star
    1,127
  • Rank 41,294 (Top 0.9 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🍰 A powerful plugin connect APlayer and Meting

Meting

Author Version Travis License

Requirement

https://github.com/MoePlayer/APlayer

Version API Status APlayer
1.2.x Supported
2.0.x Latest

CDN

Quick Start

<!-- require APlayer -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css">
<script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script>
<!-- require MetingJS -->
<script src="https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js"></script>

<meting-js
	server="netease"
	type="playlist"
	id="60198">
</meting-js>

https://music.163.com/#/playlist?id=60198

<meting-js
	auto="https://y.qq.com/n/yqq/song/001RGrEX3ija5X.html">
</meting-js>

https://y.qq.com/n/yqq/song/001RGrEX3ija5X.html

<meting-js
	name="rainymood"
	artist="rainymood"
	url="https://rainymood.com/audio1110/0.m4a"
	cover="https://rainymood.com/i/badge.jpg">
</meting-js>

for self-hosted media

<meting-js
	name="rainymood"
	artist="rainymood"
	url="https://rainymood.com/audio1110/0.m4a"
	cover="https://rainymood.com/i/badge.jpg"
	fixed="true">
	<pre hidden>
		[00:00.00]This
		[00:04.01]is
		[00:08.02]lyric
	</pre>
</meting-js>

Fixed mode with Lyric text

Option

option default description
id require song id / playlist id / album id / search keyword
server require music platform: netease, tencent, kugou, xiami, baidu
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.

<script>
var meting_api='http://example.com/api.php?server=:server&type=:type&id=:id&auth=:auth&r=:r';
</script>

<script src="dist/Meting.min.js"></script>

Browser support

Browsers without native custom element support require a polyfill.

  • Chrome
  • Firefox
  • Safari
  • Internet Explorer 11
  • Microsoft Edge

Author

MetingJS © metowolf, Released under the MIT License.

Blog @meto · GitHub @metowolf · Twitter @metowolf · Telegram Channel @metooooo

More Repositories

1

vCards

📡️ vCards 中国黄页 - 优化 iOS/Android 来电、信息界面体验
JavaScript
4,324
star
2

Meting

🍰 Wow, such a powerful music API framework
PHP
1,704
star
3

BilibiliHelper

🌮 B 站自动领瓜子、直播挂机脚本,!!! 非 B 站后台源码 !!!
JavaScript
953
star
4

iplist

📖 IP CIDRs List / IP 地址列表
836
star
5

qqwry.ipdb

🐈️ 纯真数据库 IPIP.net 格式版,Make qqwry.ipdb Great Again!!!
JavaScript
331
star
6

JumpJumpHelper

用 PHP 玩微信跳一跳
PHP
299
star
7

NeteaseCloudMusicApi

网易云音乐API,项目合并至 Meting
PHP
198
star
8

qqwry.dat

纯真 IP 数据库同步仓库
JavaScript
123
star
9

script

some exciting script :P
PHP
117
star
10

docker-lemp

🐳 Docker 快速搭建 LEMP 开发环境
PHP
88
star
11

upimg-cli

🧀 Upload image to public CDN in terminal
JavaScript
81
star
12

mathematica-keygen

wolfram mathematica keygen
JavaScript
79
star
13

TencentMusicApi

QQ 音乐 API,PHP 版
PHP
69
star
14

rime-sogou

📇 聰明的輸入法配聰明的詞庫
JavaScript
38
star
15

smms-cli

Upload images to sm.ms
JavaScript
37
star
16

XiamiMusicAPI

虾米音乐 API,PHP 版
PHP
29
star
17

pipe-demo

从零开始写一个代理
JavaScript
24
star
18

ipdb-API

🎒 Open Source REST API for IP database, includes qqwry/ipipdotnet
JavaScript
24
star
19

hlsjs-upimg-wrapper

The upimg decoder module for hls.js
JavaScript
19
star
20

docker-nginx

🐳 Docker Image packaging for nginx
Dockerfile
19
star
21

ipdb-packer

JavaScript
16
star
22

wsdog

An encrypted proxy service program through websocket
JavaScript
16
star
23

Meting-API

🐳 Meting API 的容器化(WIP)
JavaScript
14
star
24

OneTLS

🐳 OneTLS - A docker compose of TLS-Proxy
Shell
13
star
25

logo.svg

常见站点 Logo 的 svg 资源整理
12
star
26

Surge

Surge Rules
6
star
27

pipe

从零开始写一个代理(生产版)
JavaScript
5
star
28

dev-server

🐳 开发环境容器
Dockerfile
5
star
29

ghost-smms-store

Ghost sm.ms storage module.
JavaScript
4
star
30

Yoga-700

Lenovo Yoga 700 for macOS High Sierra & Sierra
Shell
4
star
31

docker-php

🐳 Docker Image packaging for PHP
Dockerfile
3
star
32

qhimg-cli

JavaScript
3
star
33

ipdb-cli

Query IP address in the terminal
JavaScript
3
star
34

Agreement

软件许可及服务协议
3
star
35

Playground

ACM-ICPC / LeetCode / algorithm
C++
2
star
36

docker-version

A simple Docker tagging and publishing tool
JavaScript
1
star
37

docker-frp

Dockerfile
1
star
38

koa-router-semver

🍌 Semver Version Router middleware for Koa.
JavaScript
1
star