Prevent poster flickering

pull/6544/head
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
1 changed files with 0 additions and 5 deletions

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 }),