# \[Deprecated] Embedded Video Player

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

**07/07/2025:** The `BPM_VideoPlayer` has been deprecated, in favour of the new `BPM_M2Example_SyncedVideoPlayer`. Please refer to the new docs: [Example Synced Video Player](/platform-documentation/creation/unreal-development/features-and-tutorials/video-players/streaming-video-player/example-synced-video-player.md)
{% endhint %}

1. Add relevant Actors to your level
   1. `BPM_VideoPlayer`
   2. `BPM_VideoPlayerControl`
2. Ensure your video is the correct format (as required by Unreal's Electra media player)\
   \
   We test video assets encoded with ffmpeg. To install ffmpeg, you can run a powershell terminal (as Administrator) as run `choco install ffmpeg` (or download from their website).\\

   Then, for a given video called `in.mp4` you can run:

   > `ffmpeg.exe -i in.mp4 -crf 28 -preset slow out.mp4`
3. Place the encoded `out.mp4` video into your `Content/Movies` folder in your project (create the `Movies` folder yourself if you need to)\\
4. Create an `M2 File Media Source` by right-clicking in your Content Browser and selecting:\\

   <figure><img src="/files/CgvSOB0SkK6tBB49Qyhg" alt=""><figcaption></figcaption></figure>
5. Name your asset whatever you like, e.g. `TestVideo`, then double-click to open it\\
6. In the right-hand panel, select your video asset from the `Content/Movies` folder you put it in:\\

   <figure><img src="/files/gD9GFAMVZoDKZRh34OqB" alt=""><figcaption></figcaption></figure>

   This should result in:\\

   <figure><img src="/files/ZlO6l2vAcbSPpFgK8G43" alt=""><figcaption></figcaption></figure>
7. Lastly, either in PiE or after uploading your content, launching a world, and connecting in:\\
   1. Ensure you are `Director` mode in order to be able to manage the video player control\\
   2. Right-click to display your cursor and click video player control \\
   3. Select your video asset from the `Embedded Video` drop-down list\\

      <figure><img src="/files/w2Ym6K9jQpR47k1657Zf" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.otherside.xyz/platform-documentation/creation/unreal-development/features-and-tutorials/video-players/streaming-video-player/embedded-video-player.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
