ActivityPub-federated video streaming platform using P2P directly in your web browser
Prevent poster flickering
Chocobozzzefb27fb9d17a
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.tsindex 2a8bb2edc6..4c39ac2c79 100644--- a/client/src/standalone/videos/embed.ts+++ b/client/src/standalone/videos/embed.ts@@ -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 }),