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
|
: undefined, // Undefined so the player knows it has to check the local storage
|
||||||
|
|
||||||
autoplay: autoplay === true
|
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,
|
: autoplay,
|
||||||
|
|
||||||
poster: commonOptions.poster,
|
poster: commonOptions.poster,
|
||||||
|
|
Loading…
Reference in New Issue