import { Component , OnInit , Input , ViewEncapsulation } from '@angular/core' ; import { VideoModel } from '../../models/video.model' ; import { GlobalsService } from '../../services/globals.service' ; @ Component ( { selector : 'app-video-item' , templateUrl : './video-item.component.html' , styleUrls : [ './video-item.component.scss' ] , encapsulation : ViewEncapsulation . None } ) export class VideoItemComponent implements OnInit { @ Input ( ) videoItem : VideoModel ; @ Input ( ) videoIndex : number ; @ Input ( ) listID : number ; @ Input ( ) callBack = ( ) => { } ; @ Input ( ) isPlaylist = false ; @ Input ( ) videoType = 'list' ; @ Input ( ) size = 'medium' ; @ Input ( ) additionalClass = '' ; constructor ( public globals ) { } ngOnInit ( ) { } }