FWIW: After some experimentation, I've found that setting the AVPlayerView's controlsStyle property to .floating allows the view to load without getting the constraints errors. Of course that means you have to be able to use that style in your UI. And I don't see an equivalent way of making the same change using the AVPlayer in SwiftUI, so you have to use a NSViewRepresentable in a SwiftUI project.
Topic:
Media Technologies
SubTopic:
Video
Tags: