Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
marius
Visitor

Roku Video playlist start from specific video

Hi all!

I have a question about Roku Video media playback node.
I have contentIsPlaylist set to true and when pressing the Play button it starts to play the videos beginning with the first one from the list. I want to change it so it begins with another one. I know the index for the video I want to start with. I tried with setting the value on nextContentIndex but it didn't helped at all.
Anyone has a better idea?

Thanks!
0 Kudos
1 REPLY 1
marcelo_cabral
Roku Guru

Re: Roku Video playlist start from specific video

I had the same need and expected that nextContentIndex would do that, but it does not work on the first play.

Check this solution:
https://forums.roku.com/viewtopic.php?f ... ex#p563133

In my case I ended up re-creating the contentNode based on the start index the user selected, the use case I was implementing did not require manually moving back to previous videos.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.