ameloriation du style de la partie user

This commit is contained in:
MiharyR 2021-11-24 21:34:27 +01:00
parent 1e5b9bd49c
commit cd1f323686
26 changed files with 333 additions and 85 deletions

View file

@ -117,4 +117,13 @@ export class PageWatchingVideoComponent implements OnInit
else if(source === 'dailymotion') videoUrl = "https://www.dailymotion.com/embed/video/" + videoId;
return this._sanitizer.bypassSecurityTrustResourceUrl(videoUrl);
}
// retourne la classe CSS de videoCell
getClassOfVideoCell(video0: VideoAll): string
{
if(video0 === this.video) return "videoCell videoCellFocus" ;
else return "videoCell" ;
}
}