enhance queue entries

This commit is contained in:
wryk
2020-01-11 16:57:59 +01:00
parent e6a2a6d461
commit 3fb3773dfb
4 changed files with 89 additions and 60 deletions

View File

@ -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(() => {