var cmr = plus.camera.getCamera();
cmr.startVideoCapture(function(p) {
plus.io.resolveLocalFileSystemURL(p, function(entry) {
console.log('成功')
compressImage(entry.toLocalURL(),entry.name);
}, function(e) {
console.log("读取拍照文件错误:" + e.message);
});
}, function(e) {
console.log('失败')
}, {
filter: 'image'
});
8***@qq.com
- 发布:2022-10-11 14:19
- 更新:2022-10-11 14:19
- 阅读:204
0 个回复