> ## Documentation Index
> Fetch the complete documentation index at: https://docs.videowise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# changePlayerSize

> Minimize the open live player or bring it back to full screen from your app.

`VideowiseSDK.changePlayerSize` lets your app minimize the open live shopping player to its [floating mini player](https://docs.videowise.com/sdk/live-shopping-channel.md#live-player-and-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

| Parameter | Type | Description |
| - | - | - |
| `size` | `PlayerSize` (`'minimized' \| 'fullscreen'`) | `'minimized'` floats the mini player over your app, `'fullscreen'` brings the player back to full screen |

`PlayerSize` is also exported as constants: `PlayerSize.MINIMIZED` and `PlayerSize.FULLSCREEN`.

### Example

```jsx theme={null}
import VideowiseSDK, { PlayerSize } from "@videowisehq/videowise-react-native-sdk";

VideowiseSDK.changePlayerSize(PlayerSize.MINIMIZED); // or 'minimized'
VideowiseSDK.changePlayerSize(PlayerSize.FULLSCREEN); // or 'fullscreen'
```

> [!NOTE]
>
> Unlike the chevron, the call also minimizes a show that is behind a private show gate, the same as on web.

## Related

* [Live Shopping Channel](https://docs.videowise.com/sdk/live-shopping-channel.md)
* [React Native SDK](https://docs.videowise.com/sdk/react-native.md)
* [Live shopping](https://docs.videowise.com/live-shopping/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.