VideowiseSDK.changePlayerSize lets your app minimize the open live shopping player to its floating mini player or bring it back to full screen. Use it when your app needs the screen, for example to show your own cart, a login or a product page, and to bring the show back afterwards.
It works the same way as the chevron in the player: the player switches its own layout and the SDK resizes the player view. It is a plain function and does not need to be called inside VideowiseSDK.Provider. Nothing happens when no player is open.
Available from SDK version 3.0.1.
Parameters
PlayerSize is also exported as constants: PlayerSize.MINIMIZED and PlayerSize.FULLSCREEN.
Example
Unlike the chevron, the call also minimizes a show that is behind a private show gate, the same as on web.