|
|
|
@ -32,12 +32,14 @@
|
|
|
|
|
<section id="info-wrapper">
|
|
|
|
|
<div class="small-middle-container">
|
|
|
|
|
|
|
|
|
|
<div class="row justify-content-center justify-content-sm-start">
|
|
|
|
|
|
|
|
|
|
<div class="row justify-content-center justify-content-sm-start header-container">
|
|
|
|
|
<div class="details-poster-container">
|
|
|
|
|
<media-poster [posterPath]="'https://image.tmdb.org/t/p/w300/' + movie.posterPath"></media-poster>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--Next to poster-->
|
|
|
|
|
<div class="col-12 col-lg-9 col-xl-9 media-row">
|
|
|
|
|
<div class="details-button-container">
|
|
|
|
|
<div class="col-12 media-row">
|
|
|
|
|
<span *ngIf="movie.available">
|
|
|
|
|
<a *ngIf="movie.plexUrl" href="{{movie.plexUrl}}" mat-raised-button target="_blank" class="btn-spacing viewon-btn plex">
|
|
|
|
|
{{'Search.ViewOnPlex' | translate}}
|
|
|
|
@ -96,6 +98,7 @@
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-12 col-md-2">
|
|
|
|
@ -134,11 +137,16 @@
|
|
|
|
|
|
|
|
|
|
<div class="row" *ngIf="movie.videos?.results?.length > 0">
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<p-carousel class="no-indicator" [numVisible]="10" [numScroll]="10" [page]="0" [value]="movie.videos?.results">
|
|
|
|
|
<mat-card class="mat-elevation-z8">
|
|
|
|
|
<mat-card-header>Trailers</mat-card-header>
|
|
|
|
|
<mat-card-content>
|
|
|
|
|
<p-carousel class="no-indicator" [numVisible]="2" [numScroll]="10" [page]="0" [value]="movie.videos?.results">
|
|
|
|
|
<ng-template let-result pTemplate="item">
|
|
|
|
|
<iframe width="98%" height="100%" [src]="'https://www.youtube.com/embed/' + result.key | safe" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
|
|
<iframe width="98%" height="315px" [src]="'https://www.youtube.com/embed/' + result.key | safe" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</p-carousel>
|
|
|
|
|
</mat-card-content>
|
|
|
|
|
</mat-card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|