Implementation
import SwiftUI
import AVKit
struct ContentView: View {
var body: some View {
VideoPlayer(player: playVideo(fileName: "filename", fileFormat: "fileformat"))
}
}
import SwiftUI
import AVKit
struct ContentView: View {
var body: some View {
VideoPlayer(player: playVideo(fileName: "filename", fileFormat: "fileformat"))
}
}