收藏
回答

chooseMedia问题,选择多个视频会丢失

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug chooseMedia 微信iOS客户端 8.0.60 3.8.7

问题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:

以上所说的视频选择”原图“上传,可以上传成功,点击预览视频无法播放;


回答关注问题邀请回答
收藏

4 个回答

  • 社区技术运营专员--Asher
    社区技术运营专员--Asher
    07-16

    这边排查看看

    07-16
    有用
    回复 1
    • Suezp.
      Suezp.
      07-30
      麻烦了 问题很频繁 也是ios 客户反馈
      07-30
      回复
  • Huān
    Huān
    10-14

    问题2:勾选微信聊天中保存的视频,是不是修复了,之前有复现,今天测不出来了

    10-14
    有用
    回复
  • dididididi....BOOM!!!!
    dididididi....BOOM!!!!
    07-14

    问题依旧存在

    07-14
    有用
    回复
  • scanf
    scanf
    07-10

    顶,我经过测试有同样的问题

    07-10
    有用
    回复
登录 后发表内容