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: 
enmud
Visitor

Playing from nth video in aplaylists and stop looping after last video

hi I am trying to play a series of videos using contentIsPlaylist = true. while doing this I am facing two issues.
1> Though I set loop to false, its still lopping again to the first video.
2> I am not able to start the nth video in the play lists by setting the nextContentIndex and contentIndex to n.
0 Kudos
1 REPLY 1
WSJTim
Binge Watcher

Re: Playing from nth video in aplaylists and stop looping after last video

Did you ever get this working? I'm having the same issue. After looking at their docs, the only way I could KIND OF get it working was to do something like this:

player.control = "play"
player.nextContentIndex = x
player.control = "skipcontent"

However, that's a very poor solution since you briefly see the first video appear before it flips to the x item. It's also unacceptable from an analytic standpoint since there's a quick hit on the first video.

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.