metowolf / Metingjs
Licence: mit
🍰 A powerful plugin connect APlayer and Meting
Stars: ✭ 488
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Metingjs
Apis
This Repository contains link to many Open or Closed Source APIs which I've made
Stars: ✭ 79 (-83.81%)
Mutual labels: api, music
Waveline Server
Simple self-hosted music streaming server
Stars: ✭ 248 (-49.18%)
Mutual labels: api, music
Jiosaavnapi
An unofficial API for JioSaavn written in Python 3
Stars: ✭ 123 (-74.8%)
Mutual labels: api, music
Musicapi
Centralized package to get data from qq, xiami, netease music
Stars: ✭ 463 (-5.12%)
Mutual labels: api, music
Lyrics.ovh
Source of lyrics.ovh and API to search for lyrics of a song
Stars: ✭ 112 (-77.05%)
Mutual labels: api, music
Eazy Sound Manager
Eazy Sound Manager is a simple Unity3D tool which aims to make sound and music management in games easier
Stars: ✭ 135 (-72.34%)
Mutual labels: api, music
Droplet kit
DropletKit is the official DigitalOcean API client for Ruby.
Stars: ✭ 482 (-1.23%)
Mutual labels: api
V8 Archive
Directus Database API — Wraps Custom SQL Databases with a REST/GraphQL API
Stars: ✭ 486 (-0.41%)
Mutual labels: api
Smocker
Smocker is a simple and efficient HTTP mock server and proxy.
Stars: ✭ 465 (-4.71%)
Mutual labels: api
Awesome Machine Learning Art
🤖🎨🎸A curated list of awesome projects, works, people, articles, and resource for creating art (including music) with machine learning. It's machine learning art.
Stars: ✭ 480 (-1.64%)
Mutual labels: music
App
Directus Admin Application — An Intuitive WebApp for Managing Database Content
Stars: ✭ 464 (-4.92%)
Mutual labels: api
Gearbox
Gearbox ⚙️ is a web framework written in Go with a focus on high performance
Stars: ✭ 455 (-6.76%)
Mutual labels: api
Hifiberry Os
Linux distribution optimized for audio playback
Stars: ✭ 487 (-0.2%)
Mutual labels: music
Laravel Blade Javascript
A Blade directive to export variables to JavaScript
Stars: ✭ 485 (-0.61%)
Mutual labels: api
Requirement
https://github.com/MoePlayer/APlayer
Version | API Status | APlayer |
---|---|---|
1.2.x | Supported | |
2.0.x | Latest |
CDN
- https://cdn.jsdelivr.net/npm/[email protected]/dist/Meting.min.js
- https://unpkg.com/[email protected]/dist/Meting.min.js
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/[email protected]/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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].