listen to player state change

This commit is contained in:
wryk 2020-02-22 04:39:31 +01:00
parent 6a8b379763
commit fe9005b956
1 changed files with 8 additions and 0 deletions

View File

@ -86,6 +86,14 @@
break
case STATE.PLAYING:
paused = false
break
case STATE.PAUSED:
paused = true
break
case STATE.ENDED:
ended = true
break