用 Vue 写出好看又好用的音乐播放器 - Vue-APlayer

Vue-APlayer npm GitHub stars

好看又好用的 APlayer,专为 Vue

vue-aplayer

Vue-APlayer 以 @DIYgod/APlayer 为原型,在 Vue 技术栈上进行实现。
Vue-APlayer 项目早在 2016-11-22 就已起步,起初是对 APlayer 的简单封装。后来为了便于维护和迭代,干脆直接使用 Vue 实现了一遍。现仍在持续维护和更新中。

如果你在使用 Vue 搭建自己心爱的小站,正想挑选一款好看又好用的音乐播放器,Vue-APlayer 是少数不错的选择

特性 - Demo

  • 简洁的 UI
  • 播放列表
  • 滚动歌词
  • 自定义主题色/自动主题色
  • 互斥播放
  • 支持 HLS

使用

<aplayer autoplay
  :music="{
    title: 'Preparation',
    author: 'Hans Zimmer/Richard Harvey',
    url: 'http://devtest.qiniudn.com/Preparation.mp3',
    pic: 'http://devtest.qiniudn.com/Preparation.jpg',
    lrc: '[00:00.00]lrc here\n[00:01.00]aplayer'
  }"
/>

完整文档在这里

链接

本文转载于:猿2048用 Vue 写出好看又好用的音乐播放器 - Vue-APlayer

猜你喜欢

转载自www.cnblogs.com/jlfw/p/12820133.html