首页 > 其他 > 详细

vue 视频播放vue-aplayer

时间:2019-08-22 16:23:21      阅读:443      评论:0      收藏:0      [点我收藏+]

官网地址:https://www.npmjs.com/package/vue-aplayer

github地址:https://github.com/SevenOutman/vue-aplayer/tree/master/docs

1.命令:npm i vue-aplayer

           npm install --save hls.js(可能需要)

2.文件template:

          <aplayer autoplay

            :music-"{

        title:‘邓伦 心动‘,

        artist:‘邓伦‘,     

        src: ‘../../../static/images/dlxd.mp3‘,
        pic: ‘../../../static/images/top.png‘

      }"

  />

3.文件script:
  import Aplayer from "vue-aplayer";
  components: {
    Aplayer
  },

vue 视频播放vue-aplayer

原文:https://www.cnblogs.com/mcll/p/11394903.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!