All Projects → GinMu → vue-audio

GinMu / vue-audio

Licence: other
A simple audio player based on Vue 2.x which supports single, loop, order, circulation, and random mode

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to vue-audio

DanMuPlayer
A ffmpeg based player for tvOS TVML support DanMu
Stars: ✭ 40 (-2.44%)
Mutual labels:  player
media-player
H5视频播放器,可自定义插件
Stars: ✭ 36 (-12.2%)
Mutual labels:  player
ykh5p
改善优酷官方html5播放器播放体验
Stars: ✭ 43 (+4.88%)
Mutual labels:  player
feeluown-core
提供音乐播放器的一些常见组成模块(已经合并到 feeluown 项目中)
Stars: ✭ 30 (-26.83%)
Mutual labels:  player
roover
🐱 A lightweight audio library for React apps.
Stars: ✭ 70 (+70.73%)
Mutual labels:  player
twitch-vod-chat
No description or website provided.
Stars: ✭ 20 (-51.22%)
Mutual labels:  player
clappr-core
Core components of the Clappr player architecture
Stars: ✭ 41 (+0%)
Mutual labels:  player
iptv-m3u-player
项目iptv-m3u-maker衍生项目,利用已分析出的数据进行播放的桌面端app
Stars: ✭ 73 (+78.05%)
Mutual labels:  player
HAudioPlayer
AVPlayer再封装,实现类网易云音乐播放动画效果
Stars: ✭ 15 (-63.41%)
Mutual labels:  player
kaltura-player-android
Kaltura Player is a rich, easy to integrate and easy to use video player for all media types and ad scenarios you need. - based on Google ExoPlayer
Stars: ✭ 22 (-46.34%)
Mutual labels:  player
FFmpegPlayer
Simple FFmpeg video player
Stars: ✭ 72 (+75.61%)
Mutual labels:  player
soube
Music player based on electronjs
Stars: ✭ 32 (-21.95%)
Mutual labels:  player
vue-podcast-player
Vue based simple podcast player
Stars: ✭ 31 (-24.39%)
Mutual labels:  player
HJPlayer
A HTML5 Player, can play flv and hls by Media Source Extension, based on typescript.
Stars: ✭ 149 (+263.41%)
Mutual labels:  player
LabMidi
Midi IN and OUT. Standard midi file parser and player. Midi Softsynth implementation.
Stars: ✭ 38 (-7.32%)
Mutual labels:  player
datmusic-android
Music search, downloader & player app using Jetpack Compose
Stars: ✭ 448 (+992.68%)
Mutual labels:  player
podest
Enjoy fine podcasts ✨
Stars: ✭ 33 (-19.51%)
Mutual labels:  player
ycl
Search, Play, Download youtube videos from the terminal
Stars: ✭ 20 (-51.22%)
Mutual labels:  player
onpc
Enhanced Music Controller
Stars: ✭ 90 (+119.51%)
Mutual labels:  player
Meaga
一个由Electron和Vue联合打造的本地音乐播放器
Stars: ✭ 36 (-12.2%)
Mutual labels:  player

vue-audio

A simple audio player based on Vue 2.x which supports single, loop, order, circulation, and random mode

audio component props

props description type default required values
source src of audio string "" true
index the current audio index in the playlist number 0 true
mode player mode number 0 false 0:single、1:order、2:loop、3:circulation、4:random
preload string 'none' false "none"、 "auto"、 "metadata"
autoplay boolean false false
muted boolean false false

example code

<vue-audio v-for="(list, index) of lists"
                  :source="list.source"
                  :index="index"
                  :mode="mode"
                  @timeupdate="timeupdate"
                  @playing="playing"
                  @pause="pause"
                  @ended="ended"
                  @waiting="waiting"
                  @error="error">
        <div class="player"></div>
</vue-audio>

timeupdate (e) {

},
playing (e) {

},
pause (e) {

},
ended (e) {

},
waiting (e) {

},
error (e) {

}

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].