How to set player to full screen

I have my own controls on top of the video player and I am trying to call player.SetFullScreen(true). This does’nt seems to work and returns error.
Is there any solution? As Twitch controls do provide full screen feature, how does that work?

Duplicate post.

Basically you can’t the browser blocks this interaction, only the player itself can initiate this

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.