aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-07 11:05:43 +0200
committerChocobozzz <me@florianbigard.com>2020-04-07 11:05:43 +0200
commitbc30363602ad504d784662a9373c0a114d05042c (patch)
tree66f3605d4fdc7dde506fc9fa47d29a8598f82894
parentedaf5b862ab6845d0cc528703cc45c9a9acd4693 (diff)
downloadPeerTube-bc30363602ad504d784662a9373c0a114d05042c.tar.gz
PeerTube-bc30363602ad504d784662a9373c0a114d05042c.tar.zst
PeerTube-bc30363602ad504d784662a9373c0a114d05042c.zip
Don't force autoplay
Don't use muting to autoplay videos. If the web browser does not want to autoplay the video, it's okay.
-rw-r--r--client/src/assets/player/peertube-player-manager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index dbf631a5e..8e6a4f139 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -236,7 +236,7 @@ export class PeertubePlayerManager {
236 : undefined, // Undefined so the player knows it has to check the local storage 236 : undefined, // Undefined so the player knows it has to check the local storage
237 237
238 autoplay: autoplay === true 238 autoplay: autoplay === true
239 ? 'any' // Use 'any' instead of true to get notifier by videojs if autoplay fails 239 ? 'play' // Use 'any' instead of true to get notifier by videojs if autoplay fails
240 : autoplay, 240 : autoplay,
241 241
242 poster: commonOptions.poster, 242 poster: commonOptions.poster,