1
0
Fork 0

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.
This commit is contained in:
Chocobozzz 2020-04-07 11:05:43 +02:00
parent edaf5b862a
commit bc30363602
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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,