import { Component , Input } from '@angular/core' ; import { ActivityEntity , ActivityService } from '../activity.service' ; @ Component ( { selector : 'm-activity__remind' , templateUrl : 'remind.component.html' , providers : [ ActivityService ] , } ) export class ActivityRemindComponent { @ Input ( 'entity' ) set entity ( entity ) { this . service . setEntity ( entity . remind_object ) ; this . service . isNsfwConsented$ . next ( true ) ; } /**
     * Whether or not autoplay is allowed (this is used for single entity view, media modal and media view)
     */ @ Input ( ) autoplayVideo : boolean = false ; @ Input ( ) parentService : ActivityService ; constructor ( public service ) { } ngOnInit ( ) { this . service . displayOptions = this . parentService . displayOptions ; } }