# Embedded Unreal Video Player

{% hint style="success" %}
verified: 2025-11-20 version: v39
{% endhint %}

<figure><img src="/files/3rdTFpBY9DjBZURW964m" alt=""><figcaption></figcaption></figure>

### Overview <a href="#streamingvideoplayer-overview" id="streamingvideoplayer-overview"></a>

We use Epic's Electra Media Player. It allows you to play a video stream or file, either locally or over the web, using `file:\\`, `ftp:\\`, `http:\\`, `rtsp:\\` protocols.

\
Video can be live streamed using HLS over the internet. Electra has all the usual video player support (pausing, seeking, skipping etc). For more information see:

* [Electra Media Player](https://docs.unrealengine.com/5.0/en-US/electra-media-player-in-unreal-engine/)
* [Media Framework Technical Reference](https://docs.unrealengine.com/5.0/en-US/media-framework-technical-reference-for-unreal-engine/)

We have an example asset in the `M2Example` plugin that demonstrates playing local or url videos: `BPM_M2Example_SyncedVideoPlayer`. For more details on how this works, see [Example Synced Video Player](/platform-documentation/creation/unreal-development/features-and-tutorials/video-players/streaming-video-player/example-synced-video-player.md).

### FAQ <a href="#streamingvideoplayer-faq" id="streamingvideoplayer-faq"></a>

Q: What is the difference between Electra Media Player and [Millicast](/platform-documentation/creation/unreal-development/features-and-tutorials/video-players/millicast-video-streaming.md)?

A: Millicast is used to stream (that is: record a screen, encode it & play it live in the experience).\
The Electra Media Player is used to take an existing video stream or file & play it in the experience.

There is some overlap in possible use cases, but Millicast is overkill if you just want to play a pre-recorded video.

Q: What specification should I encode my video at for optimal playback.

A: We test with video assets encoded using [ffmpeg](https://www.ffmpeg.org/). Assuming that your input video has the correct video and audio codecs (see [Media Framework Technical Reference](https://docs.unrealengine.com/5.0/en-US/media-framework-technical-reference-for-unreal-engine/)) then this command will give you a reasonably compressed mp4 file: `ffmpeg.exe -i in.mp4 -crf 28 -preset slow -vf out.mp4`


---

# 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.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.
