import { Component , ViewChild } from '@angular/core' ; import { Player } from '@vime/angular' ; @ Component ( { selector : 'app-root' , templateUrl : './app.component.html' , } ) export class AppComponent { @ ViewChild ( 'player' ) player ! : Player ; onPlaybackReady ( ) { } }