Reduce innactivity timeout on embed
authorChocobozzz <me@florianbigard.com>
Mon, 26 Mar 2018 11:55:03 +0000 (13:55 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 26 Mar 2018 11:55:27 +0000 (13:55 +0200)
client/src/standalone/videos/embed.ts

index 2caab5b10cd435bc7ab7faaeb81a005dc9725453..964ec56f3dabccbc21ec0969f0ba1f15da92fba8 100644 (file)
@@ -27,6 +27,7 @@ loadVideoInfo(videoId)
     const videojsOptions = {
       controls: true,
       autoplay: false,
+      inactivityTimeout: 500,
       plugins: {
         peertube: {
           videoFiles: videoInfo.files,