diff options
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 5c68aaaf2..78b812ffd 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -242,7 +242,10 @@ export class PeerTubeEmbed { | |||
242 | this.buildPlayerIfNeeded() | 242 | this.buildPlayerIfNeeded() |
243 | ]) | 243 | ]) |
244 | 244 | ||
245 | this.peertubePlayer.setPoster(window.location.origin + video.previewPath) | 245 | // If already played, we are in a playlist so we don't want to display the poster between videos |
246 | if (!this.alreadyPlayed) { | ||
247 | this.peertubePlayer.setPoster(window.location.origin + video.previewPath) | ||
248 | } | ||
246 | 249 | ||
247 | const playlist = this.playlistTracker | 250 | const playlist = this.playlistTracker |
248 | ? { | 251 | ? { |