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

**URL:** <https://forum.developer.roku.com/t/playing-from-nth-video-in-aplaylists-and-stop-looping-after-last-video/6732>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [February 20, 2018, 7:28am UTC](https://forum.developer.roku.com/t/playing-from-nth-video-in-aplaylists-and-stop-looping-after-last-video/6732 "2018-02-20T07:28:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![enmud](https://avatars.discourse-cdn.com/v4/letter/e/e0b2c6/32.png) [@enmud](https://forum.developer.roku.com/u/enmud)\
**Post date:** [February 20, 2018, 7:28am UTC](https://forum.developer.roku.com/t/playing-from-nth-video-in-aplaylists-and-stop-looping-after-last-video/6732/1 "2018-02-20T07:28:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![WSJTim](https://avatars.discourse-cdn.com/v4/letter/w/47e85d/32.png) [@WSJTim](https://forum.developer.roku.com/u/WSJTim)\
**Post date:** [April 3, 2023, 7:09pm UTC](https://forum.developer.roku.com/t/playing-from-nth-video-in-aplaylists-and-stop-looping-after-last-video/6732/2 "2023-04-03T19:09:49Z")

</div>

Did you ever get this working? I’m having the same issue. After looking at their [docs](https://developer.roku.com/docs/developer-program/core-concepts/playing-videos.md#media-playlists), the only way I could KIND OF get it working was to do something like this:

```auto
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.
