<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerItem/interstitialTimeRanges",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerItem(py)interstitialTimeRanges"
  },
  "title" : "interstitialTimeRanges"
}
-->

# interstitialTimeRanges

An array of time ranges that identify interstitial content.

```
var interstitialTimeRanges: [AVInterstitialTimeRange] { get set }
```

## Discussion

Interstitial content is material that’s unrelated to a player item’s primary content, such as advertisements and legal notices. If you use <doc://com.apple.documentation/documentation/AVKit/AVPlayerViewController> to present an item that contains interstitial time ranges, the user interface marks those time ranges differently on the playback timeline. A player view controller can also call your app when it begins and ends playing interstitial content. You can use these events to customize playback behavior, such as preventing viewers from skipping required content.

> Note:
> On iOS, the stream must define the interstitial time ranges, or you must use ``doc://com.apple.avfoundation/documentation/AVFoundation/AVPlayerInterstitialEventController``.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)