chooseMedia问题,选择多个视频会丢失
问题1:批量勾选相机拍摄的视频,官方API会出现勾选缺失的情况: {
"tempFiles": [
{
"height": 1280,
"thumbTempFilePath": "wxfile://tmp_908a408fac8bfd8dcb20aadde9dd508d.jpg",
"width": 720,
"size": 121043,
"duration": 1,
"tempFilePath": "wxfile://tmp_0d6861e27473d9fc302ce45704d4fe85.mp4",
"fileType": "video"
},
{
"height": 1280,
"thumbTempFilePath": "wxfile://tmp_6323b4e0bbdd4bb263b7b041d1cbccf8.jpg",
"width": 720,
"size": 116056,
"duration": 1,
"tempFilePath": "wxfile://tmp_db65f17e1e9a1eeb1f7f85c8bc78f3f3.mp4",
"fileType": "video"
},
// 缺失了
{
},
{
"height": 1280,
"thumbTempFilePath": "wxfile://tmp_e4020d23e8ba522a482e2c0aad17fce1.jpg",
"width": 720,
"size": 145337,
"duration": 1,
"tempFilePath": "wxfile://tmp_9e6fb0c223e056a6008e132f8e285ac6.mp4",
"fileType": "video"
}
],
"errMsg": "chooseMedia:ok",
"type": "video",
"failedCount": 0
}
问题2: 当相册中含有微信聊天中保存的视频,勾选上传,无响应,也无发触发成功失败响应; 该视频在其它的微信小程序中测试,微信原生相册选择界面会出现无响应以及视频损坏提示; [图片] 问题3: 批量选择相册视频以及微信聊天保存视频,返回会出现几个视频失败; {
"tempFiles": [
{
"height": 960,
"thumbTempFilePath": "wxfile://tmp_91e8dedf3a23cd502dd41af9f940cf6a.jpg",
"width": 720,
"size": 399609,
"duration": 3,
"tempFilePath": "wxfile://tmp_597f8fb5e6300f64ae8cdeaeaf9ee45b.mp4",
"fileType": "video"
},
{
"height": 960,
"thumbTempFilePath": "wxfile://tmp_1df6ea79eae1573da3b8823e410a684c.jpg",
"width": 544,
"size": 703200,
"duration": 5,
"tempFilePath": "wxfile://tmp_3fedbb4332a423e6f36dd5c7328104cd.mp4",
"fileType": "video"
},
{
"height": 960,
"thumbTempFilePath": "wxfile://tmp_ff778847b49896b6c30a133701c3a74c.jpg",
"width": 720,
"size": 180585,
"duration": 2,
"tempFilePath": "wxfile://tmp_94bc9a47c5420dc6d5b92ce5ce9e9a06.mp4",
"fileType": "video"
}
],
"errMsg": "chooseMedia:ok",
"type": "video",
"failedCount": 5
}
问题4: 以上所说的视频选择”原图“上传,可以上传成功,点击预览视频无法播放;