# VOD Stops playing

**URL:** <https://community.wowza.com/t/vod-stops-playing/93628>\
**Category:** Wowza Streaming Engine\
**Tags:** vod\
**Created:** [August 1, 2021, 1:01pm UTC](https://community.wowza.com/t/vod-stops-playing/93628 "2021-08-01T13:01:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoav\_talmor](https://avatars.discourse-cdn.com/v4/letter/y/e19adc/32.png) [@yoav\_talmor](https://community.wowza.com/u/yoav_talmor)\
**Post date:** [August 1, 2021, 1:01pm UTC](https://community.wowza.com/t/vod-stops-playing/93628/1 "2021-08-01T13:01:15Z")

</div>

Hello,  
I’m using the latest Wowza Media Server as a VOD Server, so users can receive some mp4 files.  
In the live App. I added the necessary stream files (rtsp://127.0.0.1:1935/vod/mp4:file.mp4) pointing to the files in the VOD Application.  
The problem is that the mp4 files plays once and then stops / gets stuck.  
I need them to work as a loop so when the file ends it starts over again.  
I’ll appreciate any help.  
Thank you.  
Yoav.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 2, 2021, 6:04pm UTC](https://community.wowza.com/t/vod-stops-playing/93628/2 "2021-08-02T18:04:17Z")

</div>

You can use our Loop Until Live module that will loop your mp4 over and over. Some people use it to play a video that loops until an encoder or live stream starts but you can use this to just loop one pre-recoreded video over and over and never switch to a true live stream.

Here is a tutorial I did on this to show you the steps.

> **[Loop a Pre-Roll Until a Live Stream Starts](https://www.wowza.com/blog/loop-a-pre-roll-until-a-live-stream-starts)**
>
> In this video tutorial, we'll show you how to use the Loop Until Live module to stream a pre-recorded filler video in place of an unavailable live stream.

  

And here is the doc:

> **[Loop a pre-roll until a live stream starts](https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive)**
>
> Use the LoopUntilLive Wowza Streaming Engine Java module to configure a pre-roll video to play before a live stream starts and after it ends.
