Closed ghost closed 4 years ago
using "this.api.playbackRate = 2;' doesn't initialize the player to have playback rate of 2 on player ready. I've also tried using @ViewChild() with VgPlaybackButton and calling updatePlaybackSpeed() with the same result.
I was able to resolve this by waiting for "playing" subscription as follows:
this.api.getDefaultMedia().subscriptions.playing.subscribe(() => { this.api.playbackRate = 2; });
marking as closed
using "this.api.playbackRate = 2;' doesn't initialize the player to have playback rate of 2 on player ready. I've also tried using @ViewChild() with VgPlaybackButton and calling updatePlaybackSpeed() with the same result.