<!--
{
  "availability" : [
    "tvOS: 12.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVMediaItem/interstitials",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TVMediaItem(py)interstitials"
  },
  "title" : "interstitials"
}
-->

# interstitials

An array of time intervals that indicate where to insert media items into another, single media item.

```
var interstitials: [TVMediaItem.TimeRange] { get }
```

## Discussion

The `Interstitials` property defines points within a [`TVMediaItem`](/documentation/TVMLKit/TVMediaItem) object where you can insert another media item; for example, a short ad. Each time range in the array contains two properties: [`startTime`](/documentation/TVMLKit/TVMediaItem/TimeRange/startTime) and [`duration`](/documentation/TVMLKit/TVMediaItem/TimeRange/duration). The `startTime` is the length of time from the beginning of a media item, in seconds. The `duration` is the length of the interstitial, in seconds. Both properties are required. A common use for these objects is to define when and where ads are to be played during a stream.

---

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)