GithubHelp home page GithubHelp logo

hzzly / magicmusic Goto Github PK

View Code? Open in Web Editor NEW
370.0 13.0 76.0 6.46 MB

🎵帅气的手机端音乐播放器(vue vue-router vuex flex ...)

Home Page: http://hzzly.cn/magic-music/

License: MIT License

JavaScript 40.57% HTML 0.83% Vue 56.65% CSS 1.95%
vue2 vue-router2 vuex2 axios es6 webpack2 promise flex

magicmusic's Introduction

MagicMusic

前言:在最近的一个外包项目中包联盟中使用到了video,遇到了好多坑。突发奇想来踩一踩audio的坑😀,果然一入深似海,👇下面将分享我的DIY之路-Vue音乐播放器。 注:本项目为开源项目,不能用于商业应用,仅供学习。

[温馨提示:pc浏览f12手机模式最佳,手机建议wifi下访问,低版本浏览器可能有兼容性问题]

demo地址: http://hzzly.net/magic-music/

示范图片1 示范图片1 示范图片3

欢迎大家的star啦😄~

Build Setup

# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report

API文档

$ git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git
$ npm install
$ npm start

👉老铁们,准备发车(技能点):

👉坐好,出发

实现的功能

1、首页

  • 个性推荐
  • 歌手列表
  • 排行榜
  • 搜索

2、底部播放控件

  • 播放
  • 暂停
  • 下一曲
  • 播放进度条

3、播放页面

  • 上一曲
  • 播放
  • 暂停
  • 下一曲
  • 播放进度条[弧形进度条]
  • 歌词滚动
  • 播放的歌词高亮
  • 播放模式[单曲循环、列表循环、随机播放]

4、播放列表

  • 播放歌曲高亮
  • 切歌(单击切歌)
  • 删歌(点击右侧小X)
  • 清空播放列表
  • 本地缓存播放列表

5、排行榜

  • 热门排行榜
  • 排行榜里的歌曲(单击播放)
  • 播放全部

6、音乐搜索

输入搜索关键词

  • 单曲(单击或点击歌曲操作(...)添加至音乐播放列表,部分音乐会存在版权问题无法播放)
  • 歌手
  • 专辑
  • 歌单
  • 用户

7.个人中心

  • 我喜欢的
  • 最近听的

8.侧边栏

  • 头像
  • 菜单
    • 个人中心

第一版文章:DIY一个自己的音乐播放器

第二版文章:DIY一个人自己的音乐播放器2.0来袭

车已到站✌️。

不知不觉写了这么多,老铁们凑合这看吧😁。 MagicMusic还在不断努力的改进,觉得还行的可以点个star,你的star是我继续开源创作的动力,谢谢!!!

magicmusic's People

Contributors

hzzly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magicmusic's Issues

wow

如此惊艳!吓坏我了

npm install报错

D:\vue\播放器\MagicMusic>npm install
npm ERR! code ENOGIT
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Lin\AppData\Roaming\npm-cache_logs\2017-06-07T14_48_54_963Z-debug.log

能分享video的心得吗?

最近都想学点新的东西,刚好遇到你这篇文章很好五一假期好好弄。希望楼主也分享下video坑知识和几个简单demo。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.