Developers

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.
Tags (1)
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
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!