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:
parent
edaf5b862a
commit
bc30363602
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue