Skip to content

Commit

Permalink
fix(player): hide poster when not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Jul 12, 2024
1 parent b11afc2 commit a6b1453
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/vidstack/styles/player/default/poster.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@
:where(.vds-poster[data-visible]) {
opacity: 1;
}

.vds-poster:not(:defined),
.vds-poster img:not([src]) {
display: none;
}

0 comments on commit a6b1453

Please sign in to comment.