它显示了我的样子:
let myURL = "http://example.come/package=07e9a825-7be4-4ce7-8a6ec78b"
let videoURL = URL(string: myURL)
let player = AVPlayer(url: videoURL!)
let playerViewController = AVPlayerViewController()
playerViewController.player = player
self.present(playerViewController, animated: true) {
playerViewController.player!.play()
}
但是当我在浏览器中使用 URL 时,该 mp4 视频完全没问题。我想念什么?