@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)
Post
Replies
Boosts
Views
Activity
@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.