# HLS VoD loop playback

**URL:** https://community.wowza.com/t/hls-vod-loop-playback/46235
**Category:** Wowza Streaming Engine
**Created:** [July 20, 2016, 12:50pm UTC](https://community.wowza.com/t/hls-vod-loop-playback/46235 "2016-07-20T12:50:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Leonardo\_Pagotto](https://avatars.discourse-cdn.com/v4/letter/l/5daacb/32.png) [@Leonardo\_Pagotto](https://community.wowza.com/u/Leonardo_Pagotto)
#### Post date: [July 20, 2016, 12:50pm UTC](https://community.wowza.com/t/hls-vod-loop-playback/46235/1 "2016-07-20T12:50:31Z")

</div>

Hello!

I’d like to have the same MP4 video in HLS loop playback. It’s already playing fine but its length is just 2’10" and it needs to plays endlessly.

Any clues?

Thanks 😉

LP

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [July 20, 2016, 3:33pm UTC](https://community.wowza.com/t/hls-vod-loop-playback/46235/2 "2016-07-20T15:33:23Z")

</div>

No exactly what you are looking for. But this may work for you:

[How to loop a pre-roll until a live stream starts (LoopUntilLive)](https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive%28ModuleLoopUntilLive%29)

If a live stream is never published to the application, the file will loop continuously.

Also, you could use a simple Stream Class stream:

[Stream Class Example](https://www.wowza.com/docs/stream-class-example)

NOTE: In both examples, the Application needs to be a “Live” application not a VOD application.

Best,

Salvadore

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [July 21, 2016, 3:21pm UTC](https://community.wowza.com/t/hls-vod-loop-playback/46235/3 "2016-07-21T15:21:57Z")

</div>

Just to clarify, both of these guides use a “static” (pre-recorded) video file as the source for a live stream.

Best,

Salvadore

---

<div class="post-metadata">

### Author: ![Leonardo\_Pagotto](https://avatars.discourse-cdn.com/v4/letter/l/5daacb/32.png) [@Leonardo\_Pagotto](https://community.wowza.com/u/Leonardo_Pagotto)
#### Post date: [July 21, 2016, 2:40pm UTC](https://community.wowza.com/t/hls-vod-loop-playback/46235/4 "2016-07-21T14:40:00Z")

</div>

Many thanks, Salvatore, but it won’t work for me as what I have is a video file stored in my server.

Regards,

Leonardo
