Avatar
Avatar
Sergei 🇭🇳
I'm focused on developing apps for visionOS. I know is possible to play spatial videos in 3D on Safari and through AVKit/AVFoundation. Now regarding to playing spatial videos in the immersive mode, is there any public API to do it with AVKit? Since it is possible in Safari, is it also possible in WebKit?
Shun Takeishi (Apple) 2/20/2025 6:33 AM
You can play spatial videos in immersive mode with AVPlayerViewController. Since standard player by AVFoundation is supporting to play Spatial Video. Also another way is to use VideoPlayerComponent in RealityKit. VideoPlayerComponent would be easier way in Immersive Mode. https://developer.apple.com/documentation/realitykit/videoplayercomponent https://developer.apple.com/videos/play/wwdc2024/10115 I guess spatial video in WebKit may be playable. it would be great that you can try it out. https://developer.apple.com/videos/play/wwdc2024/10065 (edited)
A component that supports general video-playback experience with an AV player.
Extend your media viewing experience using Reality Composer Pro components like Docking Region, Reverb, and Virtual Environment Probe...
Discover how to make the most of visionOS capabilities on the web. Explore recent updates like improvements to selection highlighting,...
❤️ 4