c***@ebring.com.cn
c***@ebring.com.cn
  • 发布:2020-11-06 09:29
  • 更新:2020-11-06 15:51
  • 阅读:538

【报Bug】uni.chooseVideo努比亚手机选择不上视频,ios选择下载视频,选择不上

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10

HBuilderX类型: 正式

HBuilderX版本号: 2.9.6

手机系统: Android

手机系统版本号: Android 11

手机厂商: 努比亚和iPhone6

手机机型: 努比亚和iPhone6

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

uni.chooseVideo({
count: 1,
sourceType: type,
success: res => {
if (type == 'camera') {
// arr.push(res.tempFilePath);
this.videoOrImg = 1; //视频
// this.imgPathSend = arr;
this.imgPathSend.push(res.tempFilePath);
if(platform === true){ //安卓机
this.getCompress(res.tempFilePath);
}else{
this.getVideoImage(res.tempFilePath);
}
} else {
if (res.size > uploadVideoSize) {
uni.showToast({
title: '视频大小不能超过1.5G',
icon: 'none',
duration: 1000
});
return false;
}
uni.showLoading({
title: '处理中...',
mask: true
});
}
},
fail: res => {

                },  
                complete:  res => {  

                }  
            });

预期结果:

努比亚手机和ios成功进入成功回调

实际结果:

努比亚手机和ios选择失败

bug描述:

2020-11-06 09:29 负责人:无 分享
已邀请:
WbsPool

WbsPool

你的iphone6的系统版本是多少?

DCloud_Android_ST

DCloud_Android_ST

完整示例提供下

  • c***@ebring.com.cn (作者)

    视频是用安卓手机拍的,然后发布到我们自己的App上,使用ios手机把视频保存带本地,然后用ios手机从相册中选择视频,选择不上,视频地址:https://zhye-test.oss-cn-beijing.aliyuncs.com/video/output/1604561998201SpSr4Rsz4garden_mien.mp4

    2020-11-06 14:01

  • DCloud_Android_ST

    回复 c***@ebring.com.cn: 看你问题描述使用努比亚android手机chooseVideo无法正常返回选中视频。自测并没有发现问题。所以需要你提供一下示例我们测试一下。

    2020-11-06 14:27

  • c***@ebring.com.cn (作者)

    回复 DCloud_Android_ST: 努比亚机型(NX573J)任何视频都上传不了,ios使用上面的链接下载到手机,从相册中选取已下载视频,点击无反应

    2020-11-06 15:37

  • DCloud_Android_ST

    回复 c***@ebring.com.cn: IOS的问题会有相关同学来跟进。我来了解一下android 那你说的努比亚机型并不是无法选择视频。而是无法上传视频是吧。换个手机会不会是手机系统或网络自身问题?

    2020-11-06 15:39

  • c***@ebring.com.cn (作者)

    选择完视频,直接走的fail回调

    2020-11-06 15:42

  • c***@ebring.com.cn (作者)

    回复 DCloud_Android_ST: 因为只有一个努比亚测试机,网络良好,

    2020-11-06 15:44

  • DCloud_Android_ST

    回复 c***@ebring.com.cn: 录个视频吧

    2020-11-06 15:44

  • c***@ebring.com.cn (作者)

    回复 DCloud_Android_ST: 好的

    2020-11-06 15:46

  • c***@ebring.com.cn (作者)

    回复 DCloud_Android_ST: 刚试了下,是无法进入选择视频的页面,刚说错了,我传了压缩包里面有视频

    2020-11-06 15:52

c***@ebring.com.cn

c***@ebring.com.cn (作者)

点击上传按钮,无法进入选择视频的页面

该问题目前已经被锁定, 无法添加新回复