ios12 - AVPlayer 不播放 3gp 视频格式
问题描述
有没有办法.3gp
在 AVPlayer 中支持格式?它似乎没有播放它,而它播放任何其他格式,例如.mov
, .mp4
。
let player = AVPlayer(url: videoURL)
let playerViewController = AVPlayerViewController()
playerViewController.player = player
self.present(playerViewController, animated: true) {
playerViewController.player!.play()
}
解决方案
推荐阅读
- ios - 是否可以从 iPad 的视频应用程序中挑选电影、复制或直接在我们的 iOS 应用程序中播放?
- php - 如何通过 JMS/Serializer 将默认命名空间添加到(反)序列化 XML?
- python - 如何导入 NOAA-CRN 数据文件?
- selenium - 测试基于 React 构建的网站的最佳自动化测试解决方案?
- python - 更改 wxPython StyledTextCtrl 中的字体
- php - 带有数组数据的 PHP PDO bindValue()
- python - RNN 实现的这个错误是什么意思?
- excel - 将文件夹中的项目限制为仅电子邮件(并在特定日期之后收到)
- angular - 在 Typescript 中创建子类
- asp.net - 如何仅更新 ASP.NET MVC 中预先存在的模型的提供属性?