---
title: loopingPlayerItems
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayerlooper/loopingplayeritems
---

# loopingPlayerItems

An array containing replicas of the template player item used to accomplish the looping.

## Declaration

```swift
var loopingPlayerItems: [AVPlayerItem] { get }
```

## Discussion

Discussion AVPlayerLooper creates replicas of the template AVPlayerItem using the copyWithZone: method and inserts them in the queue player’s queue to accomplish the looping. You can determine the number of replicas created and can listen for notifications and property changes from the replicas if desired. Access to the AVPlayerItem replicas are for informational purposes and to allow you to apply any configuration that is not transferred from the template player item to the replicas. For instance, any instances of AVPlayerItemOutput and AVPlayerItemMediaDataCollector attached to the template player item are not transferred to the replicas so you should add them to each replica item if needed. important: You should not modify any properties of the replicas that would disrupt looping playback. This includes properties such as the playhead time/date, selected media option, and forward playback end time.

## See Also

### Configuring looping

- [disableLooping()](avfoundation/avplayerlooper/disablelooping().md)
