# Playing video files sequentially

**URL:** <https://forum.developer.roku.com/t/playing-video-files-sequentially/4298>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [July 26, 2013, 3:12am UTC](https://forum.developer.roku.com/t/playing-video-files-sequentially/4298 "2013-07-26T03:12:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RIDGELINETV](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RIDGELINETV](https://forum.developer.roku.com/u/RIDGELINETV)\
**Post date:** [July 26, 2013, 3:12am UTC](https://forum.developer.roku.com/t/playing-video-files-sequentially/4298/1 "2013-07-26T03:12:25Z")

</div>

It’s easy to play individual files on demand using the example video player.

However, I’d like to have an on demand channel set up to where when a viewer selects a program to play, it actually plays a sequence of individual video files, in essence, running a playlist (I’m talking about on demand here, not live streaming - I know it gets confusing because “playlist” means different things to different people).

I’m hoping Roku uses an XML file for this purpose.

Thanks for any assistance.

---

<div class="post-metadata">

**Author:** ![RokuChris](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@RokuChris](https://forum.developer.roku.com/u/RokuChris)\
**Post date:** [July 26, 2013, 3:20am UTC](https://forum.developer.roku.com/t/playing-video-files-sequentially/4298/2 "2013-07-26T03:20:15Z")

</div>

[viewtopic.php?f=34&t=32501](http://forums.roku.com/viewtopic.php?f=34&t=32501)

---

<div class="post-metadata">

**Author:** ![RIDGELINETV](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RIDGELINETV](https://forum.developer.roku.com/u/RIDGELINETV)\
**Post date:** [July 26, 2013, 3:49am UTC](https://forum.developer.roku.com/t/playing-video-files-sequentially/4298/3 "2013-07-26T03:49:45Z")

</div>

Thanks for the fast reply. I’m very new to Brightscript so I know I sound like a noob! I just want to get a better idea about the possibilities of Roku before I jump in head first… If it won’t do what I need, there’s so sense in putting the time into it.

So my question is can you set this video array from an external XML file?

My scenario is this: I have a TV station and create all my shows in segments. That way commercials and PSAs can be changed out easily in the breaks by just changing the playlist, not re-encoding the entire program. I have taken this concept over to my website, where programs play like this through a web video player. If I create a Roku channel, the workflow would be much easier if it follows a similar concept.
