avQueuePlayer?.removeAllItems() //First remove All values from your AVQueuePlayer
for count in currentVideoCount..<avQuePlayerItems.count {
let obj: AVPlayerItem? = avQuePlayerItems[count]
if (avQueuePlayer?.canInsert(obj!, after: nil)) != nil {
obj?.seek(to: CMTime.zero, completionHandler: nil)
avQueuePlayer?.insert(obj!, after: nil)
}
}