Coder Social home page Coder Social logo

cjbtokyo / vuejs-sound-player Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shershen08/vuejs-sound-player

1.0 1.0 0.0 12 KB

โ–ถ๏ธ ๐ŸŽน ๐ŸŽต HTML5 <audio> tag sound player UI for Vue.js v2

JavaScript 68.66% Vue 31.34%

vuejs-sound-player's Introduction

Vue.js sound player

Vue.js sound audio player UI. Covers audio-tag API and adds more.

dependencies status

Demo

See DEMO here

Installation

Use npm: npm install vue-audio --save

Or bower: bower install vue-audio

Usage

Add in the component import VueAudio from 'vue-audio';

Use in the template <vue-audio file="myLocalFile"></vue-audio>

The component has two attributes

  • file (String) is required;
  • autoPlay (Boolean) is false by default;

For styling the Bootstrap classes v 3.7 are used, so you may want to add bootstrap css package or add via stylesheet link <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">

Questions, bugs

Create an issue or try to ping me on twitter @legkoletat

ToDo

  • Add track position navigation
  • Replace CSS classes that make bootstrap necessary
  • Add remote file load service

License

MIT

vuejs-sound-player's People

Contributors

resurtm avatar shershen08 avatar

Stargazers

 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.