
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
https://github.com/MoePlayer/APlayer
Version | API Status | APlayer |
---|---|---|
1.0.x | Compatibility (2018.04.01 EOL) | |
1.1.x | Latest |
<!-- require APlayer -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.7.0/dist/APlayer.min.css">
<script src="https://cdn.jsdelivr.net/npm/aplayer@1.7.0/dist/APlayer.min.js"></script>
<div class="aplayer"
data-id="60198"
data-server="netease"
data-type="playlist">
</div>
<script src="dist/Meting.min.js"></script>
https://music.163.com/#/playlist?id=60198
<!-- require APlayer -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.7.0/dist/APlayer.min.css">
<script src="https://cdn.jsdelivr.net/npm/aplayer@1.7.0/dist/APlayer.min.js"></script>
<div class="aplayer"
data-name="rainymood"
data-artist="rainymood"
data-url="https://rainymood.com/audio1110/0.m4a"
data-cover="https://rainymood.com/i/badge.jpg">
</div>
<script src="dist/Meting.min.js"></script>
for self-hosted media
option | default | description |
---|---|---|
data-id | require | song id / playlist id / album id / search keyword |
data-server | require | music platform: netease , tencent , kugou , xiami , baidu |
data-type | require | song , playlist , album , search , artist |
data-mini | false | enable mini mode |
data-autoplay | false | audio autoplay |
data-theme | #2980b9 | main color |
data-loop | all | player loop play, values: 'all', 'one', 'none' |
data-order | list | player play order, values: 'list', 'random' |
data-preload | auto | values: 'none', 'metadata', 'auto' |
data-volume | 0.7 | default volume, notice that player will remember user setting, default volume will not work after user set volume themselves |
data-mutex | true | prevent to play multiple player at the same time, pause other players when this player start play |
data-lrc | false | enable mini mode |
data-list-folded | false | indicate whether list should folded at first |
data-list-max-height | 340px | list max height |
deprecated | Instead data-loop , data-order should be used |
Documentation for APlayer can be found at https://aplayer.js.org/#/home?id=options
note: because of JavaScript rules,
data-listFolded
should be rewrite asdata-list-folded
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>
MetingJS © metowolf, Released under the MIT License.
Blog @meto · GitHub @metowolf · Twitter @metowolf · Telegram Channel @metooooo
FAQs
Wow, such a beautiful html5 music player (with Meting API)
The npm package meting receives a total of 713 weekly downloads. As such, meting popularity was classified as not popular.
We found that meting demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.