diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-25 16:18:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-25 16:18:28 +0100 |
commit | 6de076222aca7005371e01768171efdc62ed8018 (patch) | |
tree | 3e8a34d5634cb91a9a1cd20e5043961b0fddc7fe /client/src/standalone/videos | |
parent | c0687c91b9cf185c36e477ab30266c779f792ee1 (diff) | |
download | PeerTube-6de076222aca7005371e01768171efdc62ed8018.tar.gz PeerTube-6de076222aca7005371e01768171efdc62ed8018.tar.zst PeerTube-6de076222aca7005371e01768171efdc62ed8018.zip |
Avoid always resuming the end of the video
Diffstat (limited to 'client/src/standalone/videos')
-rw-r--r-- | client/src/standalone/videos/shared/player-manager-options.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/standalone/videos/shared/player-manager-options.ts b/client/src/standalone/videos/shared/player-manager-options.ts index f09c86d14..43ae22a3b 100644 --- a/client/src/standalone/videos/shared/player-manager-options.ts +++ b/client/src/standalone/videos/shared/player-manager-options.ts | |||
@@ -217,6 +217,7 @@ export class PlayerManagerOptions { | |||
217 | videoCaptions, | 217 | videoCaptions, |
218 | inactivityTimeout: 2500, | 218 | inactivityTimeout: 2500, |
219 | videoViewUrl: this.videoFetcher.getVideoViewsUrl(video.uuid), | 219 | videoViewUrl: this.videoFetcher.getVideoViewsUrl(video.uuid), |
220 | videoViewIntervalMs: 5000, | ||
220 | metricsUrl: window.location.origin + '/api/v1/metrics/playback', | 221 | metricsUrl: window.location.origin + '/api/v1/metrics/playback', |
221 | 222 | ||
222 | videoShortUUID: video.shortUUID, | 223 | videoShortUUID: video.shortUUID, |