From 25b7c847249c2b7f7b309b14eecb03dd024db649 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 10 Nov 2020 14:21:26 +0100 Subject: Try to optimize sha segments fetching --- client/src/standalone/videos/embed.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/standalone/videos/embed.ts') diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 9b07ef5e6..66033158b 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts @@ -532,6 +532,8 @@ export class PeerTubeEmbed { inactivityTimeout: 2500, videoViewUrl: this.getVideoUrl(videoInfo.uuid) + '/views', + isLive: videoInfo.isLive, + playerElement: this.playerElement, onPlayerElementChange: (element: HTMLVideoElement) => this.playerElement = element, -- cgit v1.2.3