Code Monkey home page Code Monkey logo

player's Introduction

Analog Music Player

Structure

├── assets                     // static resource
│   ├── favicon.png            // favicon
│   ├── main.css               // theme style
│   ├── main.html              // main page
├── src                        // source
│   ├── class                  // class
│         ├── bar.js           // bar class
│         ├── playArea.js      // play area class
│         ├── playButtons.js   // play operate button
│         ├── playList.js      // play list class
│         ├── song.js          // single song class
│         ├── title.js         // title class for song info
│   ├── data.js                // song info array
│   ├── index.js               // entry
├── webpack.config.js          // webpack config file
├── .gitignore                 // git ignore file
└── package.json               // package.json


Features

1. Refresh the page and randomly generate 20 audios
2. Audio time 10-70 seconds
3. Operation:
  [prev][play/pause][stop][next]
4. Generate a custom playlist, the directory name can be modified
5. Play directory, music list, can drag and drop position
6. Music list can be sorted by preference
7. Double click on the music to play
8. hot key:
  [Up] prev song
  [Down] next song
  [Space] play/pause song

Shortcoming

When playing music, if the currently playing music is at the bottom, need to scroll to see it.
Improvements will be made in the future!

Build

# install and run server & open page
npm ins

# run server & open page
npm start

# build for production environment
npm run build

Browsers support

Chrome

player's People

Contributors

roseforyou avatar zu-jianhua avatar

Watchers

 avatar

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.