Post

Replies

Boosts

Views

Activity

Reply to 360 video in Vision Pro
@PatrickDevX, I tired your solution and it works amazing for videos saved in project directory, but when I try to play video via URL, I can hear sound of video but view is black. Can you please tell me any workaround for this? I am creating asset via AVURLAsset let asset = AVURLAsset(url: URL(string: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4")!) let playerItem = AVPlayerItem(asset: asset)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’23
Reply to 360 video in Vision Pro
@PatrickDevX, I tired your solution and it works amazing for videos saved in project directory, but when I try to play video via URL, I can hear sound of video but view is black. Can you please tell me any workaround for this? I am creating asset via AVURLAsset let asset = AVURLAsset(url: URL(string: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4")!) let playerItem = AVPlayerItem(asset: asset)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to How to play video in full immersive space in vision Pro
@PatrickDevX I am trying to play video in full immersive space. I just gave an example of panorama. In actual, I want to video to cover full space just like panaroma/background image covers. The solution you suggested just add video as a component of entity.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Aug ’23