diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.ts index 4e16a7b9c..5ab1fc9b1 100644 --- a/client/src/assets/player/peertube-player.ts +++ b/client/src/assets/player/peertube-player.ts @@ -123,6 +123,13 @@ export class PeerTubePlayer { } setPoster (url: string) { + // Use HTML video element to display poster + if (!this.player) { + this.options.playerElement().poster = url + return + } + + // Prefer using player poster API this.player?.poster(url) this.options.playerElement().poster = '' }