It seems they have change things around a bit in videogular/ngx-videogular. I am trying to have my thumbnail videos start in fullscreen mode when click on. Before you could use vgAPI and toggle the fullscreen like so:
import {VgAPI} from ngx-videogular
@ViewChild(VgAPI) api: VgAPI;
this.api = api;
this.api.play()
this.api.toggleFullscreen();
now you have:
import { VgApiService } from "@videogular/ngx-videogular/core"
api: VgApiService | undefined;
onPlayerReady(api: VgApiService) {
this.api = api;
this.api.play();
this.api.toggleFullScreen()......THIS DOESN'T EXIST ANYMORE
}
I cant' seem to find anywhere in the docs how to migrate the toggleFullScreen feature. I would definitely appreciate if someone could point me in the right direction