摄像头参数给的是这样:
interface CameraOption {
attribute String filename;
attribute String format;
attribute String index;
attribute PopPosition popover;
}
但在示例里给的是:
res=cmr.supportedVideoResolutions[0];
{resolution:res,format:fmt}
这个resolution从哪里来的?
url:http://www.html5plus.org/doc/zh_cn/camera.html#plus.camera.CameraOption
1 个回复
魔鬼肌肉人 - 澹泊明志,宁静致远
我是刚接触这个,同样也遇到你说的这个问题,你解决了玛