Added volume control and added missing semi colon
parent
3ba4e31bb4
commit
a847ca31bc
|
|
@ -68,7 +68,13 @@ export default {
|
||||||
},
|
},
|
||||||
skip (offset) {
|
skip (offset) {
|
||||||
this.wavesurfer.skip(offset)
|
this.wavesurfer.skip(offset)
|
||||||
}
|
},
|
||||||
|
getVolume () {
|
||||||
|
this.wavesurfer.getVolume()
|
||||||
|
},
|
||||||
|
setVolume (volume) {
|
||||||
|
this.wavesurfer.setVolume(volume)
|
||||||
|
},
|
||||||
togglePlay () {
|
togglePlay () {
|
||||||
this.wavesurfer.playPause()
|
this.wavesurfer.playPause()
|
||||||
this.playingStatus = this.isPlaying()
|
this.playingStatus = this.isPlaying()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue