Working on an AndroidTV player for peertube. I can get the embedding to work and limited control of the player with videojsPlayer commands like videojsPlayer.playbackRate(2) or videojsPlayer.play()
Trying to change resolution this way is far less straightforward, but would be easy if I could get the peertube player embed api to work.
There is a yarn command given but no direction on where this command is supposed to be executed, without it there doesn’t seem to be a way to instantiate a player object.
I have come up empty searching for any other documentation or code examples of someone actually using the player API