Immersive videos on avplayerviewcontroller

Asked on 2025-06-27

1 search

To support immersive video playback in visionOS apps using AVPlayerViewController, Apple introduced new APIs and features at WWDC. The AVPlayerViewController integrates with the system to enhance video playback capabilities, supporting HLS streaming and providing a familiar playback experience similar to system apps like TV and Music. It offers streamlined playback controls that allow users to focus on the media.

For immersive video playback, the AV Experience Controller API is leveraged to transition into immersive experiences. This includes options like the Expanded Experience, which allows AVPlayerViewController to consume 180, 360, and wide field of view videos. The new Immersive API as part of the Experiences in AV Experience Controller allows apps to define the placement of immersive video playback through a configuration API.

For more details on implementing immersive video playback with AVPlayerViewController, you can refer to the session Support immersive video playback in visionOS apps.

If you are interested in enhancing the immersion of media viewing in custom environments, the session Enhance the immersion of media viewing in custom environments provides insights into using AVKit features to create an immersive media viewing experience on visionOS.