From: Chocobozzz <me@florianbigard.com>
Date: Mon, 26 Mar 2018 11:55:03 +0000 (+0200)
Subject: Reduce innactivity timeout on embed
X-Git-Tag: v1.0.0-beta.2~29
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=60a26a559ca21ca02458a1311c5b464044bb8a05;p=oweals%2Fpeertube.git

Reduce innactivity timeout on embed
---

diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index 2caab5b10..964ec56f3 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -27,6 +27,7 @@ loadVideoInfo(videoId)
     const videojsOptions = {
       controls: true,
       autoplay: false,
+      inactivityTimeout: 500,
       plugins: {
         peertube: {
           videoFiles: videoInfo.files,