diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-26 13:55:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-26 13:55:27 +0200 |
commit | 60a26a559ca21ca02458a1311c5b464044bb8a05 (patch) | |
tree | 90c374eae33b37f5f49f56b3aae8d884f5bf68ce /client/src/standalone | |
parent | 869968d792cb25dd405b994b9337f48abde29001 (diff) | |
download | PeerTube-60a26a559ca21ca02458a1311c5b464044bb8a05.tar.gz PeerTube-60a26a559ca21ca02458a1311c5b464044bb8a05.tar.zst PeerTube-60a26a559ca21ca02458a1311c5b464044bb8a05.zip |
Reduce innactivity timeout on embed
Diffstat (limited to 'client/src/standalone')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
27 | const videojsOptions = { | 27 | const videojsOptions = { |
28 | controls: true, | 28 | controls: true, |
29 | autoplay: false, | 29 | autoplay: false, |
30 | inactivityTimeout: 500, | ||
30 | plugins: { | 31 | plugins: { |
31 | peertube: { | 32 | peertube: { |
32 | videoFiles: videoInfo.files, | 33 | videoFiles: videoInfo.files, |