cockatoo-player
v1.1.0
Published
Audio player with subtitle and caption support
Downloads
33
Readme
cockatoo-player 🎧🦜
Current HTML5 supports subtitle only for video. This package specifically supports subtitles for audio.
Dependencies :sparkles:
- subtitle.js To parse subtitles and display below the player
import Vue from 'vue'
import CockatooPlayer from 'cockatoo-player'
Vue.use(CockatooPlayer)
Somewhere on your HTML / Vue Template
<cockatoo-player
track="https://tamilfiles.xyz/songs/Kolamavu%20Kokila/Kalyaana%20Vayasu.mp3"
transcript="https://gist.githubusercontent.com/psgganesh/fcd058c2ecef5688429cf611facbeee6/raw/fa58768e39074bc2cd4ea97e6fbf510754b9a1f3/music-transcript.vtt"
colors="active-maroon"
/>
Output
Todo
- [x] Remove axios
- [ ] Add VTT URL validations