ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix poster with pending lives
Chocobozzz2a69a0252709
diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.tsindex 4e16a7b9cd..5ab1fc9b18 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 APIthis.player?.poster(url)this.options.playerElement().poster = ''}