是否有一种方法可以在AVPlayer中支持.3gp
格式?它似乎不播放它,但是它播放任何其他格式,例如.mov
,.mp4
。
let player = AVPlayer(url: videoURL)
let playerViewController = AVPlayerViewController()
playerViewController.player = player
self.present(playerViewController, animated: true) {
playerViewController.player!.play()
}