]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit
Try to fix autoplay with ios/safari
authorChocobozzz <me@florianbigard.com>
Wed, 19 Aug 2020 14:14:25 +0000 (16:14 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 19 Aug 2020 14:17:39 +0000 (16:17 +0200)
commit9eccae74c844f09e9e3483db623fea00e0562365
tree9dde7d5928f260a8947c87c1396c469e07a9560a
parent65b19fa47997ad7530f6558104dda71e80014b17
Try to fix autoplay with ios/safari

 * Disable autoplay on first load because we have weird issues (player
 starts to play and stop so we loose the big play button). We also don't
 want to autoplay muted videos (bad UX IMHO and we don't have ads to
 display)
 * Enable autoplay when we already played a video (fixes the issue with
 playlists)
client/src/assets/player/peertube-player-manager.ts
client/src/assets/player/webtorrent/webtorrent-plugin.ts