enhance queue entries
This commit is contained in:
@ -28,7 +28,6 @@
|
||||
$: updateVolume($volume)
|
||||
|
||||
const updateViewerDurationCallback = () => {
|
||||
console.log('update')
|
||||
if (player) {
|
||||
duration = player.getDuration()
|
||||
currentTime = player.getCurrentTime()
|
||||
@ -97,6 +96,11 @@
|
||||
console.log('unplayable', ...args)
|
||||
entry.next()
|
||||
})
|
||||
|
||||
player.on('error', (...args) => {
|
||||
console.log('error', ...args)
|
||||
entry.next()
|
||||
})
|
||||
})
|
||||
|
||||
onDestroy(() => {
|
||||
|
Reference in New Issue
Block a user