Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
newchannel
Level 8

Proper format for XML to play a list of videos?

Working on setting up a list of videos to play one after the other automatically. I don't have all of the coding done for the brs files yet but working on the XML so I can build the list of videos. I have not located the proper format for this xml. Is there a tutorial or can you provide info on how to code the xml for this or where to find it?

TY
http://www.victoryNOWfilmsandtv.com
0 Kudos
4 Replies
RokuChris
Roku Employee
Roku Employee

Re: Proper format for XML to play a list of videos?

There isn't one. You can use BrightScript to parse any well formed XML you want. There is no particular schema you're required to use.

The video player example in the SDK demonstrates how to parse and make use of data in a specialized XML schema. Or MRSS (my personal favorite) is a popular standard for video delivery (http://en.wikipedia.org/wiki/Media_RSS). Or you could use something else, it depends what makes the most sense for your project.
0 Kudos
newchannel
Level 8

Re: Proper format for XML to play a list of videos?

I have xml already running for my channel but thought there might be a different way it needs to be coded to play a set of videos one after another without needing to be chosen by remote.

Thank you.
http://www.victoryNOWfilmsandtv.com
0 Kudos
RokuChris
Roku Employee
Roku Employee

Re: Proper format for XML to play a list of videos?

Oh, ok. Again, it depends on the specifics of your project, but continuous play is likely something you'll implement in BrightScript. No need to modify your XML unless there's a requirement to be able to control some aspect of the behavior from the server side.
0 Kudos
newchannel
Level 8

Re: Proper format for XML to play a list of videos?

I see, so I just have to figure out how to do the coding then for a function in the brs file.
http://www.victoryNOWfilmsandtv.com
0 Kudos