How to play Xcode background video?

Hello everyone. I am converting my website into a mobile app. Everything is ok, but I need the video to play in the white background as in the picture. When I enter my website from Safari, the video plays in the background, but when I open it with the application, the background is white. In the same way, when I type for Android, the video plays. I couldn't get the video to play on the iOS app, the background remains white as in the picture.

Hi,

Without any details, it's hard to help, but you can check this video, showing how to play and loop a video as background in SwiftUI