1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00

feat: 6167 Add autoplay setting in the admin settings section (#6788)

* feat-6167: Add autoplay setting for new users in GUI admin section

* feat-6167: Add new localization for admin GUI

* Fix user configuration not taking default auto play setting into account when creating a new user

* Revert "feat-6167: Add new localization for admin GUI"

This reverts commit fcdb05c8ea.

* Move autoplay in defaults section

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
This commit is contained in:
Khyvodul 2025-01-14 13:25:17 +01:00 committed by GitHub
parent e4b6021310
commit 1a568cc65c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 65 additions and 2 deletions

View file

@ -104,6 +104,9 @@ const CONFIG = {
EMBED: {
ENABLED: config.get<boolean>('defaults.p2p.embed.enabled')
}
},
PLAYER: {
get AUTO_PLAY () { return config.get<boolean>('defaults.player.auto_play') }
}
},