> For the complete documentation index, see [llms.txt](https://docs.msquared.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.msquared.io/creation/unreal-development/features-and-tutorials/video-players/streaming-video-player/picture-in-picture-mode.md).

# \[Deprecated] Picture-in-Picture mode

{% hint style="danger" %}
Deprecated in release v39. Please speak to support for further info.

**07/07/2025:** The `WBP_PiPVideoPlayer` was a prototype widget that has since been moved to `M2Deprecated`, since we have dropped support for it. It will still be available from that plugin, but is not advertised in our platform.

This can achieved with native Unreal functionality, similar to the world-space video player example.
{% endhint %}

`WBP_PiPVideoPlayer` is a prototype screen space widget that can be used for Picture-in-Picture mode. To use it, add it to the relevant HUD and call `SetScreenVisibility` on the widget to show/hide the screen.

Call `SetURL` with the url of the source file to play to have the widget open the file in question. The media player is set up to play on open by default. Call `Play`/`Pause` to control the playback further.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-3f5958aa8d7847c25ce28fd042afe954c5040d56%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
