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

# videoBounds

The size and position of the video image within the bounds of the view controller’s view.

## Declaration

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

## Discussion

Discussion The size and position of this rectangle depend on the aspect ratio of the media (like 16:9 or 4:3), the bounds of the player view controller’s view, and the view controller’s videoGravity. This property is key-value observable.

## See Also

### Configuring presentation

- [showsPlaybackControls](avkit/avplayerviewcontroller/showsplaybackcontrols.md)
- [contentOverlayView](avkit/avplayerviewcontroller/contentoverlayview.md)
- [videoGravity](avkit/avplayerviewcontroller/videogravity.md)
- [showsTimecodes](avkit/avplayerviewcontroller/showstimecodes.md)
- [appliesPreferredDisplayCriteriaAutomatically](avkit/avplayerviewcontroller/appliespreferreddisplaycriteriaautomatically.md)
