mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user