Fix live image aspect ratio in theatre mode

pull/4279/head
Chocobozzz 2021-06-01 09:38:52 +02:00
parent 1f73080042
commit 7a9e9417c1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@
</div>
<div id="videojs-wrapper">
<img *ngIf="playerPlaceholderImgSrc" [src]="playerPlaceholderImgSrc" alt="Placeholder image" i18n-alt>
<img class="placeholder-image" *ngIf="playerPlaceholderImgSrc" [src]="playerPlaceholderImgSrc" alt="Placeholder image" i18n-alt>
</div>
<my-video-watch-playlist

View File

@ -50,6 +50,10 @@ $video-info-margin-left: 44px;
font-weight: $font-semibold;
}
.placeholder-image {
height: 100%;
}
#video-wrapper {
$video-height: 66vh;