Added negar by sorena to queue
parent
43d2f9d15d
commit
5f2c4394ca
|
|
@ -65,6 +65,9 @@ export default {
|
|||
mounted () {
|
||||
this.drawVisualizer()
|
||||
},
|
||||
updated () {
|
||||
this.wavesurfer.load(this.playerQueue[this.currentlyPlaying].stream)
|
||||
},
|
||||
methods: {
|
||||
drawVisualizer () {
|
||||
let progress = this.$el.getElementsByClassName('progress')[0]
|
||||
|
|
@ -169,11 +172,9 @@ export default {
|
|||
},
|
||||
playNext () {
|
||||
this.playQueueItem(this.currentlyPlaying + 1)
|
||||
this.wavesurfer.load(this.playerQueue[this.currentlyPlaying].stream)
|
||||
},
|
||||
playPrevious () {
|
||||
this.playQueueItem(this.currentlyPlaying - 1)
|
||||
this.wavesurfer.load(this.playerQueue[this.currentlyPlaying].stream)
|
||||
},
|
||||
play () {
|
||||
this.wavesurfer.play()
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ const state = {
|
|||
id: 8,
|
||||
title: 'Ali sorena',
|
||||
artist: 'Negar',
|
||||
artwork: 'http://sakhamusic.ir/wp-content/uploads/2016/03/Ali-Sorena-%E2%80%93-Negar.jpg',
|
||||
stream: 'http://dl.sakhamusic.ir/94/esfand/09/03%20Negar%20(Prod.%20Ehsan%20Ziya)_2.mp3'
|
||||
artwork: '/static/demo/negar.jpg',
|
||||
stream: '/static/demo/negar.mp3'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 8.9 KiB |
Binary file not shown.
Loading…
Reference in New Issue