收藏
回答

小程序上传视频超过一定大小,上传过程中闪退 (cos.putObject),使用开发工具上传正常。

框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小程序 Bug Android Android 7.1.1 魅族 pro6 7.0.10

如题

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

3 个回答

  • 俞什么
    俞什么
    2020-08-05

    请问最后怎么解决的,我这边也是这样的问题?

    2020-08-05
    有用
    回复
  • 灵芝
    灵芝
    2020-02-03

    你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

    2020-02-03
    有用
    回复
  • LesBleus
    LesBleus
    2020-02-02
    cos.postObject({
            Bucket: --,
            Region: --,
            Key: fileKey,
            FilePath: filePath,
            onProgress: function (info) {
              let oldP = _this.data.percent1;
              let percent = Math.floor(info.percent*100);
              let loaded = info.loaded;
              console.log(oldP + ":" + percent + "->" + info.loaded + ": " + info.total)
              if(oldP != percent){
                _this.setData({
                  percent1: info.percent * 100
                })
              }
            }
          }, function (err, data) {
    //...
    }
    
    2020-02-02
    有用
    回复
登录 后发表内容
问题标签