# How to play a synchronized video in Multiplayer Lobby?

**URL:** <https://forums.unrealengine.com/t/how-to-play-a-synchronized-video-in-multiplayer-lobby/480814>\
**Category:** Multiplayer & Networking\
**Tags:** unreal-engine, Multiplayer, lobby, UE4-26, question\
**Created:** [March 24, 2021, 2:48pm UTC](https://forums.unrealengine.com/t/how-to-play-a-synchronized-video-in-multiplayer-lobby/480814 "2021-03-24T14:48:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paund](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Paund](https://forums.unrealengine.com/u/Paund)\
**Post date:** [March 24, 2021, 2:48pm UTC](https://forums.unrealengine.com/t/how-to-play-a-synchronized-video-in-multiplayer-lobby/480814/1 "2021-03-24T14:48:56Z")

</div>

Hi, I created a Lobby where I wait for others to log In , my lobby has a giant screen, like a cinema, where I want to play a video , and I want that video to be visible by all my clients.

The Server is also a player, and has a unique widget that can Play n’ Pause the video.

Server side works great, but client side the texture on the screen doesn’t update and it remain at the first second of the video (black screen)

I’m using the media player with an mp4 located inside the content, the client recognize the URL , and even the function Play give me a “True” but it doens’t play anything…

I’m not so good with Multiplayer, it’s my first project, and i can’t find anything on internet…

Thanks anyway

---

<div class="post-metadata">

**Author:** ![GrumbleBunny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GrumbleBunny](https://forums.unrealengine.com/u/GrumbleBunny)\
**Post date:** [March 24, 2021, 4:18pm UTC](https://forums.unrealengine.com/t/how-to-play-a-synchronized-video-in-multiplayer-lobby/480814/2 "2021-03-24T16:18:54Z")

</div>

You’ll need to replicate the state of the video player to the clients from the server. Here’s a good breakdown: [1.4 - Variable Replication [RepNotify] | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/Resources/ContentExamples/Networking/1_4/index.html)

It will allow you to sync the state of the player between server and clients, and get a function called on the clients whenever the server changes the state.

---

<div class="post-metadata">

**Author:** ![Paund](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Paund](https://forums.unrealengine.com/u/Paund)\
**Post date:** [March 26, 2021, 4:25pm UTC](https://forums.unrealengine.com/t/how-to-play-a-synchronized-video-in-multiplayer-lobby/480814/3 "2021-03-26T16:25:05Z")

</div>

Thanks a lot , It works!  
I need to better understand when to use those RepNotify , but I have an idea now.

---

<div class="post-metadata">

**Author:** ![sorush](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sorush](https://forums.unrealengine.com/u/sorush)\
**Post date:** [April 26, 2023, 8:39pm UTC](https://forums.unrealengine.com/t/how-to-play-a-synchronized-video-in-multiplayer-lobby/480814/4 "2023-04-26T20:39:46Z")

</div>

I am new in media players in ue5 and I don’t know how and what to replicate to make media player working in multiplayer sessions. will you show me an example? thanks.

---

<div class="post-metadata">

**Author:** ![sorush](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sorush](https://forums.unrealengine.com/u/sorush)\
**Post date:** [April 26, 2023, 8:47pm UTC](https://forums.unrealengine.com/t/how-to-play-a-synchronized-video-in-multiplayer-lobby/480814/5 "2023-04-26T20:47:12Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/3/4b3167fdd3bfe8af90a525ca8256305a8f49ef82.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/6/0f66db0a6d934a40bafaff9c1e8b7aaa16624d10.png)  
the video plays correctly in server and client. but at the client we do not have voice. so when I set the media player for media sound at the end of OnRep\_bIsPlaying, playing the voice stops at the server and starts at the client. I am not sure how can I fix it.
