vue-audioplayers
v0.0.2
Published
An audio player for vue
Downloads
3
Maintainers
Readme
vue-audioplayers
Intro
This is an audio player for Vue,It provides two custom styles.
Installation
npm install vue-audioplayers -D
Usage
import AudioPlayer from 'vue-audioplayers'
import 'vue-audioplayers/dist/vue-audioplayer.min.css'
Vue.use(AudioPlayer)
// components
<audio-player
audioStyle="music" // optional, default value is 'normal'
src="" // required, the file url
theme="yellowgreen" // optional, setting player main color,default is "yellowgreen"
:loop="false" // optional, loop playback,default value is true
/>
At last,If there is any problems in using, please send E-mail to [email protected], thank you so much!