aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/webtorrent
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-05-11 17:48:25 +0200
committerChocobozzz <me@florianbigard.com>2020-05-11 17:48:56 +0200
commit72efdda586489bf59ac7df12ff9e75a926f1f048 (patch)
treee41d7390f554ef1f2bc341da4b0c0220867b7323 /client/src/assets/player/webtorrent
parent6422847473a7dd1aa6066d2735a66a47a956f5e4 (diff)
downloadPeerTube-72efdda586489bf59ac7df12ff9e75a926f1f048.tar.gz
PeerTube-72efdda586489bf59ac7df12ff9e75a926f1f048.tar.zst
PeerTube-72efdda586489bf59ac7df12ff9e75a926f1f048.zip
Try to fix auto play on apple devices
Diffstat (limited to 'client/src/assets/player/webtorrent')
-rw-r--r--client/src/assets/player/webtorrent/webtorrent-plugin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
index cb3deacc6..a894a90f5 100644
--- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts
+++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
@@ -417,7 +417,7 @@ class WebTorrentPlugin extends Plugin {
417 private initializePlayer () { 417 private initializePlayer () {
418 this.buildQualities() 418 this.buildQualities()
419 419
420 if (this.autoplay === true) { 420 if (this.autoplay) {
421 this.player.posterImage.hide() 421 this.player.posterImage.hide()
422 422
423 return this.updateVideoFile(undefined, { forcePlay: true, seek: this.startTime }) 423 return this.updateVideoFile(undefined, { forcePlay: true, seek: this.startTime })