# file playback when not streaming

**URL:** <https://community.wowza.com/t/file-playback-when-not-streaming/44909>\
**Category:** Wowza Streaming Engine\
**Created:** [March 16, 2015, 11:12am UTC](https://community.wowza.com/t/file-playback-when-not-streaming/44909 "2015-03-16T11:12:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick\_mirucki](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@patrick\_mirucki](https://community.wowza.com/u/patrick_mirucki)\
**Post date:** [March 16, 2015, 11:12am UTC](https://community.wowza.com/t/file-playback-when-not-streaming/44909/1 "2015-03-16T11:12:08Z")

</div>

Is there a way to have a video file set to playback automatically when there isn’t a live stream?

---

<div class="post-metadata">

**Author:** ![Mac\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/mac_hill/32/434_2.png) [@Mac\_Hill](https://community.wowza.com/u/Mac_Hill)\
**Post date:** [March 16, 2015, 4:09pm UTC](https://community.wowza.com/t/file-playback-when-not-streaming/44909/2 "2015-03-16T16:09:48Z")

</div>

Hello,

We have an article that outlines and walks you through setting this function up. By creating a server-side stream, you can loop another video as a filler video in place of a live stream that isn’t available. For this to work, you must create a server-side stream that has the video that will be used in place of the live stream. The ModuleLoopUntilLive module is then used to detect when the live stream is available and it will switch from the filler video to the live stream. When the live stream ends, it will switch back to the filler video. [This article describes how to configure the module](https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive).

Regards,

Mac
