@lwdev/audio-player

0.0.8 • Public • Published

lw-audio-player

Audio player web component with optional playlist/album view

package-badge jsdelivr-badge

Screenshot

LW Audio Player

Docs

You can find documentation at audio-player.littlewall.dev

Quick start

<script src="https://cdn.jsdelivr.net/npm/@lwdev/audio-player@latest" type="module"></script>

<lw-audio-player>
    <lw-audio-player-song
        artist="Milan Zítka"
        album="Yellow World (EP, 2023)"
        cover="/images/yellow-world.jpg"
        url="/audio/milan-zitka_yellow_world.mp3"
        title="Yellow World"
    ></lw-audio-player-song>
</lw-audio-player>

v1.0 checklist

  • [x] core functions
  • [ ] better design
  • [ ] assets lazyload
  • [ ] separate CDN and npm build
  • [ ] finished documentation

License

MIT License.

Package Sidebar

Install

npm i @lwdev/audio-player

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

63.9 kB

Total Files

4

Last publish

Collaborators

  • lwdev