New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

meting

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meting

Wow, such a beautiful html5 music player (with Meting API)

1.0.1
Source
npm
Version published
Weekly downloads
841
-15.9%
Maintainers
1
Weekly downloads
 
Created
Source

Meting

Author Version Travis License

Requirement

https://github.com/MoePlayer/APlayer

CDN

https://cdn.jsdelivr.net/npm/meting/dist/Meting.min.js https://unpkg.com/meting@1.0.0/dist/Meting.min.js

Quick Start

<script src="https://cdnjs.cloudflare.com/ajax/libs/aplayer/1.6.0/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

Option

optiondefaultdescription
data-idrequiresong id / playlist id / album id / search keyword
data-serverrequiremusic platform: netease, tencent, kugou, xiami, baidu
data-typerequiresong, playlist, album, search, artist
data-modecirculationplay mode, circulation, random, single, order
data-autoplayfalseautoplay song(s), not supported by mobile browsers
data-mutextruepause other players when this player playing
data-listmaxheight340pxmax height of play list
data-preloadautothe way to load music, can be none, metadata, auto
data-theme#ad7a86theme color

more https://aplayer.js.org/docs/#/?id=options

Advanced

Use self music API, see also https://github.com/metowolf/Meting

<script>
var meting_api='http://example.com/api.php?server=:server&type=:type&id=:id&r=:r';
</script>
<script src="dist/Meting.min.js"></script>

Author

MetingJS © metowolf, Released under the MIT License.

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

Keywords

player

FAQs

Package last updated on 18 Nov 2017

Did you know?

Socket

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.

Install

Related posts