uni.chooseVideo

- 发布:2020-08-30 11:17
- 更新:2020-09-27 15:43
- 阅读:999
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 2004
HBuilderX类型: 正式
HBuilderX版本号: 2.8.8
手机系统: iOS
手机系统版本号: iOS 13.4
手机厂商: 苹果
手机机型: iphone8
页面类型: vue
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
IOS14 uni.chooseVideo
IOS14 uni.chooseVideo
预期结果:
"errMsg": "chooseVideo:ok",
"tempFilePath": "file:///var/mobile/Containers/Data/Application/8C6783AD-3B89-4CDC-8206-4D3141A7624F/Documents/Pandora/apps/C791DB3885E4CF07CE025C3191420816/doc/uniapp_temp_1598755120890/gallery/IMG_5335.MP4",
"duration": 6,
"size": 2078324,
"height": 640,
"width": 360
"errMsg": "chooseVideo:ok",
"tempFilePath": "file:///var/mobile/Containers/Data/Application/8C6783AD-3B89-4CDC-8206-4D3141A7624F/Documents/Pandora/apps/C791DB3885E4CF07CE025C3191420816/doc/uniapp_temp_1598755120890/gallery/IMG_5335.MP4",
"duration": 6,
"size": 2078324,
"height": 640,
"width": 360
实际结果:
"errMsg": "chooseVideo:fail",
"tempFilePath": "",
"duration": 0,
"size": 0,
"height": 0,
"width": 0
"errMsg": "chooseVideo:fail",
"tempFilePath": "",
"duration": 0,
"size": 0,
"height": 0,
"width": 0
bug描述:
IOS14 uni.chooseVideo失败 tempFilePath是空的 IOS13是正常
没什么不同 (作者)
新版本可以了
2020-09-27 21:30
天生DR
回复 没什么不同: 好的 收到
2020-09-28 10:15