Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lutao1726/APlayer

Repository files navigation

ADPlayer

APlayer

Wow, such a lovely HTML5 music player

npm npm devDependency Status npm Travis donate

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="alayer1"></div>
<script src="dist/APlayer.min.js"></script>
var ap = new APlayer({
 element: document.getElementById('player1'),
 music: {
 title: 'Preparation',
 author: 'Hans Zimmer/Richard Harvey',
 url: 'Preparation.mp3',
 }
});

Usage

Read the Docs

Join the Discussion

Related Projects

Who use APlayer?

CDN

Donate

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

About

🍭 Wow, such a beautiful HTML5 music player

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 77.7%
  • CSS 22.3%

AltStyle によって変換されたページ (->オリジナル) /