---
title: videoBounds
framework: avkit
role: symbol
role_heading: Instance Property
path: avkit/avplayerview/videobounds
---

# videoBounds

The current size and position of the video image that displays within the player view’s bounds.

## Declaration

```swift
var videoBounds: NSRect { get }
```

## Discussion

Discussion Use this property to determine the display dimensions of the video image within the player view’s bounds. The size and position of this rectangle depend on the aspect ratio of the media (like 16:9 or 4:3), the player view’s bounds, and its controlsStyle.

## See Also

### Customizing the video presentation

- [isReadyForDisplay](avkit/avplayerview/isreadyfordisplay.md)
- [videoGravity](avkit/avplayerview/videogravity.md)
