Component position

Twitch extension in component mode has a nice option like setting position on video. Is there a way to detect if aligned left or right using the API or twitch helper?

On the twitch helper, there is a method called onPositionChanged
It will fire and give you the position of your extension so you can detect if it’s left, centered or right on the player

see : https://dev.twitch.tv/docs/extensions/reference/#helper-extensions

1 Like