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

Prevent poster flickering

This commit is contained in:
Chocobozzz 2024-08-08 08:38:58 +02:00
parent 84e9b0bfea
commit efb27fb9d1
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -266,11 +266,6 @@ export class PeerTubeEmbed {
this.buildPlayerIfNeeded()
])
// If already played, we are in a playlist so we don't want to display the poster between videos
if (!this.alreadyPlayed) {
this.peertubePlayer.setPoster(getBackendUrl() + video.previewPath)
}
const playlist = this.playlistTracker
? {
onVideoUpdate: (uuid: string) => this.loadVideoAndBuildPlayer({ uuid, forceAutoplay: false }),