拍拍熊爸爸
拍拍熊爸爸
  • 发布:2015-11-02 13:29
  • 更新:2015-12-25 10:25
  • 阅读:2360

相机的stopVideoCapture事件无效

分类:HTML5+
        function shooting(){  
            var cmr0 = plus.camera.getCamera();   
            //alert(cmr0.stopVideoCapture);  
            cmr0.startVideoCapture( function( path ){  
                    //clearTimeout(vTimer);  
                    //alert( "Capture video success: " + path );   
                    var picPath = "../../" + path.substr(1);  
                    document.getElementById("videoEL").src = picPath;                 
                },  
                function( error ) {  
                    //clearTimeout(vTimer);  
                    alert( "Capture video failed: " + error.message );  
                },  
                {resolution:videoResolutions[0],  
                    format:"mp4"  
                }  
            );  
            cmr0.stopVideoCapture();无效  
        }
2015-11-02 13:29 负责人:无 分享
已邀请:
woon

woon

同样的问题,请支持回答

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