# Video on demand playlist

**URL:** https://community.wowza.com/t/video-on-demand-playlist/36716
**Category:** Wowza Streaming Engine
**Created:** [December 16, 2011, 4:03am UTC](https://community.wowza.com/t/video-on-demand-playlist/36716 "2011-12-16T04:03:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![CARLOS\_FABIAN\_PAGE](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@CARLOS\_FABIAN\_PAGE](https://community.wowza.com/u/CARLOS_FABIAN_PAGE)
#### Post date: [December 16, 2011, 4:03am UTC](https://community.wowza.com/t/video-on-demand-playlist/36716/1 "2011-12-16T04:03:17Z")

</div>

Hello,

I want to create a playlist with a set of videos in my “content” folder but I don’t know how to.

I mean, “Simple Video Stream” of Wowza has a textfield where you enter the stream (i.e: mp4:sample.mp4) but what if I want a bunch of videos (or audios) to be played?

Does .smil files have something to do with this?

Thank you!

---

<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: [December 16, 2011, 7:42pm UTC](https://community.wowza.com/t/video-on-demand-playlist/36716/2 "2011-12-16T19:42:18Z")

</div>

The only vod playlist at present only works in Flash RTMP client. There are two ways to implement.

Server-side:

[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)

Flash RTMP client-side:

```auto
netstream.play("video1",0,-1, true);
netstream.play("video2",0,-1, false);
netstream.play("video3",0,-1, false);

```

Richard

---

<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: [December 22, 2011, 10:13pm UTC](https://community.wowza.com/t/video-on-demand-playlist/36716/3 "2011-12-22T22:13:55Z")

</div>

You can refer to the examples folder where Wowza is installed, each has a /client and some of /clientFlex examples. Start with LiveVideoStream and SimpleVideoStream /clientFlex/src/player.as, because it is a text file you can open without Flex. To edit and compile these you can use Flex Builder. The /client examples require Flash CS development tool to edit the source .fla file.

Richard

---

<div class="post-metadata">

### Author: ![CARLOS\_FABIAN\_PAGE](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@CARLOS\_FABIAN\_PAGE](https://community.wowza.com/u/CARLOS_FABIAN_PAGE)
#### Post date: [December 17, 2011, 7:16am UTC](https://community.wowza.com/t/video-on-demand-playlist/36716/4 "2011-12-17T07:16:04Z")

</div>

Thank you very much for the information! 😃

---

<div class="post-metadata">

### Author: ![CARLOS\_FABIAN\_PAGE](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@CARLOS\_FABIAN\_PAGE](https://community.wowza.com/u/CARLOS_FABIAN_PAGE)
#### Post date: [December 22, 2011, 1:48pm UTC](https://community.wowza.com/t/video-on-demand-playlist/36716/5 "2011-12-22T13:48:30Z")

</div>

Could you put a link to a tutorial or something explaining the client-side code?

Because I don’t know how “netstream.play()” works.

Thanks!
