diff --git a/common/modules/util.js b/common/modules/util.js
index 1c8bd9b0..22a3aaf8 100644
--- a/common/modules/util.js
+++ b/common/modules/util.js
@@ -156,7 +156,8 @@ export const defaults = {
extensions: SUPPORTS.extensions ? ['@thaunknown/ani-resourced'] : [],
sources: {},
enableExternal: false,
- playerPath: ''
+ playerPath: '',
+ playerSeek: 2
}
export const subtitleExtensions = ['srt', 'vtt', 'ass', 'ssa', 'sub', 'txt']
diff --git a/common/views/Player/Player.svelte b/common/views/Player/Player.svelte
index 7764d43c..f68435ae 100644
--- a/common/views/Player/Player.svelte
+++ b/common/views/Player/Player.svelte
@@ -347,10 +347,10 @@
video.currentTime = targetTime
}
function forward () {
- seek(2)
+ seek(settings.value.playerSeek)
}
function rewind () {
- seek(-2)
+ seek(-settings.value.playerSeek)
}
function selectAudio (id) {
if (id !== undefined) {
@@ -553,8 +553,9 @@
e.preventDefault()
rewind()
},
- id: '-2',
- desc: 'Rewind 2s'
+ id: 'fast_rewind',
+ type: 'icon',
+ desc: 'Rewind'
},
ArrowRight: {
fn: e => {
@@ -562,8 +563,9 @@
e.preventDefault()
forward()
},
- id: '+2',
- desc: 'Seek 2s'
+ id: 'fast_forward',
+ type: 'icon',
+ desc: 'Seek'
},
ArrowUp: {
fn: e => {
diff --git a/common/views/Settings/PlayerSettings.svelte b/common/views/Settings/PlayerSettings.svelte
index fe8010cb..0e35ab7b 100644
--- a/common/views/Settings/PlayerSettings.svelte
+++ b/common/views/Settings/PlayerSettings.svelte
@@ -146,6 +146,14 @@
+