mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-14 06:30:02 +02:00
add "stopped" playback state and event handlers
This commit is contained in:
@@ -128,7 +128,7 @@ export const RemoteContainer = () => {
|
||||
onClick={() => {
|
||||
if (status === PlayerStatus.PLAYING) {
|
||||
send({ event: 'pause' });
|
||||
} else if (status === PlayerStatus.PAUSED) {
|
||||
} else {
|
||||
send({ event: 'play' });
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user