Files
App/ios/WatchRunner Watch App/Views/VideoPlayerView.swift
2025-10-29 21:44:33 +08:00

13 lines
254 B
Swift

import SwiftUI
import AVKit
import AVFoundation
struct VideoPlayerView: View {
let videoUrl: URL
var body: some View {
VideoPlayer(player: AVPlayer(url: videoUrl))
.edgesIgnoringSafeArea(.all) // Make it full screen
}
}