Browse Source

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.
Chocobozzz 4 years ago
parent
commit
bc30363602
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/src/assets/player/peertube-player-manager.ts

+ 1 - 1
client/src/assets/player/peertube-player-manager.ts

@@ -236,7 +236,7 @@ export class PeertubePlayerManager {
         : undefined, // Undefined so the player knows it has to check the local storage
 
       autoplay: autoplay === true
-        ? 'any' // Use 'any' instead of true to get notifier by videojs if autoplay fails
+        ? 'play' // Use 'any' instead of true to get notifier by videojs if autoplay fails
         : autoplay,
 
       poster: commonOptions.poster,