<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/VideoPlaybackController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation23VideoPlaybackControllerC"
  },
  "title" : "VideoPlaybackController"
}
-->

# VideoPlaybackController

An object that controls the playback of video for a video material.

```
@MainActor @preconcurrency class VideoPlaybackController
```

## Topics

### Instance Properties

[`var audioInputMode: AudioResource.InputMode`](/documentation/RealityKit/VideoPlaybackController/audioInputMode)

[`var currentImageSize: CGSize?`](/documentation/RealityKit/VideoPlaybackController/currentImageSize)

What is the width and height of currently playing video (for stereo, the width and height of each eye)?
This is optional because the video may not currently be playing, or the size is otherwise not available.

[`var currentViewingMode: VideoPlaybackController.ViewingMode?`](/documentation/RealityKit/VideoPlaybackController/currentViewingMode)

Is the currently playing video in mono or stereo?
This is optional because the video may not currently be playing, or the mode is otherwise not available.

[`var preferredViewingMode: VideoPlaybackController.ViewingMode`](/documentation/RealityKit/VideoPlaybackController/preferredViewingMode)

Do we want to play stereo video in mono or stereo?
Default is to play in stereo.

[`var reverbSendLevel: AudioPlaybackController.Decibel`](/documentation/RealityKit/VideoPlaybackController/reverbSendLevel)

### Enumerations

[`enum ViewingMode`](/documentation/RealityKit/VideoPlaybackController/ViewingMode)

Options for viewing video playback.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)