mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 12:48:01 +02:00
Fix mediaSession seek buttons
This commit is contained in:
parent
31e065df64
commit
7aa1221565
1 changed files with 2 additions and 2 deletions
|
@ -169,11 +169,11 @@ onMounted(() => {
|
|||
});
|
||||
|
||||
navigator.mediaSession.setActionHandler('seekbackward', () => {
|
||||
audio.value.duration -= 10;
|
||||
audio.value.currentTime -= 10;
|
||||
});
|
||||
|
||||
navigator.mediaSession.setActionHandler('seekforward', () => {
|
||||
audio.value.duration += 10;
|
||||
audio.value.currentTime += 10;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue