aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-player.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/peertube-player.ts')
-rw-r--r--client/src/assets/player/peertube-player.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.ts
index 58a8aa26c..e8a258065 100644
--- a/client/src/assets/player/peertube-player.ts
+++ b/client/src/assets/player/peertube-player.ts
@@ -21,7 +21,8 @@ function getVideojsOptions (options: {
21 enableHotkeys: boolean, 21 enableHotkeys: boolean,
22 inactivityTimeout: number, 22 inactivityTimeout: number,
23 peertubeLink: boolean, 23 peertubeLink: boolean,
24 poster: string 24 poster: string,
25 startTime: number
25}) { 26}) {
26 const videojsOptions = { 27 const videojsOptions = {
27 controls: true, 28 controls: true,
@@ -34,7 +35,8 @@ function getVideojsOptions (options: {
34 videoFiles: options.videoFiles, 35 videoFiles: options.videoFiles,
35 playerElement: options.playerElement, 36 playerElement: options.playerElement,
36 videoViewUrl: options.videoViewUrl, 37 videoViewUrl: options.videoViewUrl,
37 videoDuration: options.videoDuration 38 videoDuration: options.videoDuration,
39 startTime: options.startTime
38 } 40 }
39 }, 41 },
40 controlBar: { 42 controlBar: {