DIYgod mirror
Go to file
DIYgod 1ef9d47b80
update Related Projects
2018-01-12 11:59:58 +08:00
.github add ISSUE_TEMPLATE 2017-03-08 18:50:13 +08:00
demo better workflow 2018-01-12 11:53:25 +08:00
dist better workflow 2018-01-12 11:53:25 +08:00
src better workflow 2018-01-12 11:53:25 +08:00
webpack better workflow 2018-01-12 11:53:25 +08:00
.eslintrc better workflow 2018-01-12 11:53:25 +08:00
.gitignore chore(gitignore): ignore npm-debug.log 2016-04-25 21:48:45 +08:00
.travis.yml better workflow 2018-01-12 11:53:25 +08:00
LICENSE update README and LICENSE 2017-07-23 23:19:25 +08:00
README.md update Related Projects 2018-01-12 11:59:58 +08:00
package.json better workflow 2018-01-12 11:53:25 +08:00
yarn.lock better workflow 2018-01-12 11:53:25 +08:00

README.md

ADPlayer

APlayer

Wow, such a lovely HTML5 music player

npm npm npm size Travis devDependency Status donate

Sponsor

Introduction

image

APlayer is a lovely HTML5 music player to help people build audio easily.

APlayer supports:

  • Media formats
    • MP4 H.264 (AAC or MP3)
    • WAVE PCM
    • Ogg Theora Vorbis
  • Features
    • Playlist
    • Lyrics

Using APlayer on your project? Let me know!

Demo

Docs

Install

$ npm install aplayer --save

Quick Start

<div id="aplayer1" class="aplayer"></div>
<script src="dist/APlayer.min.js"></script>
var ap = new APlayer({
    element: document.getElementById('aplayer1'),
    music: {
        title: 'Preparation',
        author: 'Hans Zimmer/Richard Harvey',
        url: 'Preparation.mp3',
    }
});

Usage

Read the Docs

Join the Discussion

Who use APlayer?

CDN

Donate

Sponsor

Author

APlayer © DIYgod, Released under the MIT License.
Authored and maintained by DIYgod with help from contributors (list).

Blog @Anotherhome · GitHub @DIYgod · Twitter @DIYgod · Weibo @DIYgod酱 · Telegram Channel @awesomeDIYgod