lizhudong2011
lizhudong2011
  • 发布:2015-12-12 19:11
  • 更新:2018-03-09 17:01
  • 阅读:1457

选择视频时出错,不知道为什么?

分类:HTML5+

这个是报错信息:
{"code":12,"message":"No Activity found to handle Intent { act=android.intent.action.PICK typ=video/* }"}

newCreditApplyRecord.galleryVideo = function() {  
            // 从相册中选择图片  
            mui.toast("从相册中选择一段视频");  
            plus.gallery.pick(function(path) {  
                console.log("从相册中选择了:" + path);  
                plus.io.resolveLocalFileSystemURL(path, function(entry) {  
                    entry.file(function(file) {  
                        //得到file对象  
                        console.log("得到选择的视频:" + file.size + '--' + file.name + "--" + file.fullPath);  
                        selectVideoElement.parentElement.querySelector("#showImg").src = "../../appres/images/video.jpg";  
                        imgPathsArray['video'] = file;  
                    });  
                });  

            }, function(e) {  
                mui.toast("取消选择视频"+JSON.stringify(e));  
                console.log(JSON.stringify(e));  
            }, {  
                filter: "video",  
                multiple: false  
            });  
        }
2015-12-12 19:11 负责人:无 分享
已邀请:
lizhudong2011

lizhudong2011 (作者)

都没有人回复的

5***@qq.com

5***@qq.com

多少年了,这个问题一直存在。

小和尚ABC

小和尚ABC - 金融公司,公司都是mui项目,金融电商等类型都做过。

哈哈 超级大bug啊

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