Instance Property

externalMetadata

An array of additional metadata for the player item to supplement or override that is embedded in the underlying media asset.

Declaration

@property(nonatomic, copy) NSArray<AVMetadataItem *> *externalMetadata;

Discussion

In some cases, a media asset file may not contain the metadata you wish to present alongside it, such as description or content rating, or you may wish to override such metadata with information from an eternal source. When presenting the player item with the AVPlayerViewController class, you can use this property to provide displayable metadata for the following item types:

See Also

Associating Metadata for Playback with AVKit

navigationMarkerGroups

The time marker groups that provide ways to navigate the player item’s content.

interstitialTimeRanges

The time ranges of the player item’s time line that represent interstitial content.

nextContentProposal

The item proposed to follow the current content.