# Play videos live in a loop

**URL:** https://community.wowza.com/t/play-videos-live-in-a-loop/49232
**Category:** Wowza Streaming Engine
**Created:** [July 19, 2017, 5:25pm UTC](https://community.wowza.com/t/play-videos-live-in-a-loop/49232 "2017-07-19T17:25:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Aziz\_Ai](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Aziz\_Ai](https://community.wowza.com/u/Aziz_Ai)
#### Post date: [July 19, 2017, 5:25pm UTC](https://community.wowza.com/t/play-videos-live-in-a-loop/49232/1 "2017-07-19T17:25:46Z")

</div>

Hi,

I have a question regarding to the tutorial posted here:

[https://www.wowza.com/docs/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)

I have followed all the step, but I can’t play the loop videos.

Please help.

I attached a couple of images to this thread.

so I have added module shown below for my live-demo application:

screen-shot-2017-07-19-at-11839-pm.png

also I have added module property like the example showed:

screen-shot-2017-07-19-at-12033-pm.png

also I have my smil file under this application’s live content folder named: myStream.smil

the content is

```auto
<?xml version="1.0" encoding="UTF-8"?>
<smil>
    <head>
    </head>
    <body>

        <stream name="Stream1"></stream>

        <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2009-12-11 16:00:00">
            <video src="mp4:sample.mp4" start="0" length="20"/>
        </playlist>
    </body>
</smil>

```

but when I access my stream address [http://ipaddress:1935/live-demo/Stream1/playlist.m3u8](http://ipaddress:1935/live-demo/Stream1/playlist.m3u8)

I have tried [http://ipaddress:1935/live-demo/myStream/playlist.m3u8](http://ipaddress:1935/live-demo/myStream/playlist.m3u8) also doesn’t work.

I have restarted application and server a couple of times, still no luck.

Any help would be appreciated.

---

<div class="post-metadata">

### Author: ![Aziz\_Ai](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Aziz\_Ai](https://community.wowza.com/u/Aziz_Ai)
#### Post date: [July 19, 2017, 5:39pm UTC](https://community.wowza.com/t/play-videos-live-in-a-loop/49232/2 "2017-07-19T17:39:48Z")

</div>

screen-shot-2017-07-19-at-12207-pm.png

Another image about my folder structure.

---

<div class="post-metadata">

### Author: ![Fahri\_Cetin](https://avatars.discourse-cdn.com/v4/letter/f/8e8cbc/32.png) [@Fahri\_Cetin](https://community.wowza.com/u/Fahri_Cetin)
#### Post date: [March 6, 2019, 10:31am UTC](https://community.wowza.com/t/play-videos-live-in-a-loop/49232/3 "2019-03-06T10:31:40Z")

</div>

Hi,

First of all you must to do this;

[https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)

Regards

---

<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: [March 6, 2019, 7:06pm UTC](https://community.wowza.com/t/play-videos-live-in-a-loop/49232/4 "2019-03-06T19:06:46Z")

</div>

Let us know if you still have issues after scheduling the loop stream as @Fahri Çetin suggests. Thanks.
