I want to use the VideoPlayer with AVKit. When I try to use VideoPlayer(player: myVideoURL) it just says "Argument passed to call that takes no arguments". I use the newest version of Xcode. How can I fix this?
SwiftUI VideoPlayer player argument
Please show enough code to reproduce the issue.