# How to create VOD playlist?

**URL:** https://community.wowza.com/t/how-to-create-vod-playlist/39803
**Category:** Wowza Streaming Engine
**Created:** [January 14, 2013, 4:46am UTC](https://community.wowza.com/t/how-to-create-vod-playlist/39803 "2013-01-14T04:46:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Krzysztof\_Hejnowski](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@Krzysztof\_Hejnowski](https://community.wowza.com/u/Krzysztof_Hejnowski)
#### Post date: [January 14, 2013, 4:46am UTC](https://community.wowza.com/t/how-to-create-vod-playlist/39803/1 "2013-01-14T04:46:10Z")

</div>

First of all, hello everyone, as this is my first post.

I’ve got very simple requirement. I want to play a number of files as one stream.

I tried the following method:

> **[Schedule streaming](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)**
>
> Use the StreamPublisher module to schedule streams and playlists for Wowza Streaming Engine.

with my streamschedule.smil file:

```auto
<smil>
	<head>
	</head>
	<body>
		<stream name="test_playlist"></stream>
		<playlist name="my_playlist" playOnStream="test_playlist" repeat="false" scheduled="2013-01-01 16:00:00">
			<video src="mp4:vid_1.mp4" start="0" length="30"/>
			<video src="mp4:vid_2.mp4" start="0" length="40"/>
			<video src="mp4:vid_3.mp4" start="0" length="20"/>
		</playlist>
	</body>
</smil>

```

I play my stream in the following way using my live app (myApp1):

Server: rtmp://localhost/myApp1

Stream: test\_playlist

Everything works fine, apart from the fact that scrubbing is not available when I play the stream of 3 files, and when I want to play the stream again I need to restart the server or use ModuleScheduleClient.

Second approach I tried to achieve the same functionality I used the method described below:

[https://www.wowza.com/docs/how-to-insert-a-pre-roll-or-mid-roll-for-video-on-demand-playback-in-flash-rtmp-client](https://www.wowza.com/docs/how-to-insert-a-pre-roll-or-mid-roll-for-video-on-demand-playback-in-flash-rtmp-client)

But I am not sure if I can use the same .smil file as above if yes then my question is how to achieve that?

Secondly I tried to stick midroll, that worked fine, but there is a sentence which is not quite clear to me:

> You could play any number of streams whole or in part as one stream

How can I play any number of streams? Can I specify more video clips in “stream:” field?

Thank you for any help in advance.

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [January 14, 2013, 1:20pm UTC](https://community.wowza.com/t/how-to-create-vod-playlist/39803/2 "2013-01-14T13:20:52Z")

</div>

The [2nd link](https://www.wowza.com/docs/how-to-insert-a-pre-roll-or-mid-roll-for-video-on-demand-playback-in-flash-rtmp-client) is the correct and at present the only way to do vod playlist, and it only works for Flash RTMP clients. There is no smil involved.

Richard
