Instance Property

videoBounds

The current size and position of the video image as displayed within the player view's bounds.

Declaration

@property(readonly) NSRect videoBounds;

Discussion

You can use this property to determine the display rect of the video image within the player view’s bounds. The size and position of this rect are dependent on the aspect ratio of the media (e.g. 16:9 or 4:3), the player view’s bounds, and its controlsStyle.

See Also

Configuring Video

readyForDisplay

A Boolean value that indicates the current player item’s first video frame has been made ready for display.

videoGravity

A setting that determines how the video is displayed within a player view’s bounds.