@forlagshuset/v-audio-player
v1.0.3
Published
Pass `fileUrl` and `fileType` prop, to add audio source.
Downloads
4
Keywords
Readme
FH Audio Player component
Pass fileUrl
and fileType
prop, to add audio source.
type = 'full'
renders 2 line player design and
type = 'simple'
renders 1 line player design
Accepts props:
props: {
type: String,
startTime: Number,
fileUrl: String,
fileType: String
},
Events:
'timeupdate' => currentTime: number
'init' => player: HTML <audio> element