1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Prevent loading web video poster that can be NSFW

This commit is contained in:
Chocobozzz 2025-07-09 15:05:41 +02:00
parent 1a9ef4ceaa
commit f2556d80e3
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -433,6 +433,7 @@ export class PeerTubePlayer {
autoplay: this.getAutoPlayValue(this.currentLoadOptions.autoplay), autoplay: this.getAutoPlayValue(this.currentLoadOptions.autoplay),
poster: this.currentLoadOptions.poster, poster: this.currentLoadOptions.poster,
preload: 'none' as 'none',
inactivityTimeout: this.options.inactivityTimeout, inactivityTimeout: this.options.inactivityTimeout,
playbackRates: [ 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2 ], playbackRates: [ 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2 ],