aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/embed.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-10 14:21:26 +0100
committerChocobozzz <me@florianbigard.com>2020-11-10 14:21:26 +0100
commit25b7c847249c2b7f7b309b14eecb03dd024db649 (patch)
treebad822d4a10f902a23ad29ca5569e4f8b824446f /client/src/standalone/videos/embed.ts
parent210856a7be4631540791bad027fb3ef0f7a51f14 (diff)
downloadPeerTube-25b7c847249c2b7f7b309b14eecb03dd024db649.tar.gz
PeerTube-25b7c847249c2b7f7b309b14eecb03dd024db649.tar.zst
PeerTube-25b7c847249c2b7f7b309b14eecb03dd024db649.zip
Try to optimize sha segments fetching
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r--client/src/standalone/videos/embed.ts2
1 files changed, 2 insertions, 0 deletions
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 {
532 inactivityTimeout: 2500, 532 inactivityTimeout: 2500,
533 videoViewUrl: this.getVideoUrl(videoInfo.uuid) + '/views', 533 videoViewUrl: this.getVideoUrl(videoInfo.uuid) + '/views',
534 534
535 isLive: videoInfo.isLive,
536
535 playerElement: this.playerElement, 537 playerElement: this.playerElement,
536 onPlayerElementChange: (element: HTMLVideoElement) => this.playerElement = element, 538 onPlayerElementChange: (element: HTMLVideoElement) => this.playerElement = element,
537 539