diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-14 17:20:39 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-14 18:04:30 +0100 |
commit | 3bcfff7f446d0a1d8ef5adf340375e178259a42c (patch) | |
tree | 7dc09e67525babb81c9d5d9e8ae3b034fdab0b6d /client/src/standalone | |
parent | 8cac1b6446a97b16387c9590ce5c799a79a759fa (diff) | |
download | PeerTube-3bcfff7f446d0a1d8ef5adf340375e178259a42c.tar.gz PeerTube-3bcfff7f446d0a1d8ef5adf340375e178259a42c.tar.zst PeerTube-3bcfff7f446d0a1d8ef5adf340375e178259a42c.zip |
Fix video play promise error on non supported browsers
Diffstat (limited to 'client/src/standalone')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 9076f1dc9..da935ef4c 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -32,7 +32,8 @@ loadVideoInfo(videoId) | |||
32 | videoFiles: videoInfo.files, | 32 | videoFiles: videoInfo.files, |
33 | playerElement: videoElement, | 33 | playerElement: videoElement, |
34 | peerTubeLink: true, | 34 | peerTubeLink: true, |
35 | videoViewUrl: getVideoUrl(videoId) + '/views' | 35 | videoViewUrl: getVideoUrl(videoId) + '/views', |
36 | videoDuration: videoInfo.duration | ||
36 | }, | 37 | }, |
37 | hotkeys: { | 38 | hotkeys: { |
38 | enableVolumeScroll: false | 39 | enableVolumeScroll: false |