视频摄像头扫码优化
parent
9ab8251cda
commit
6024db62d3
|
|
@ -4726,7 +4726,10 @@ $(function()
|
|||
// 初始最后一个摄像头
|
||||
if(video_scan_selected_deviceid == null)
|
||||
{
|
||||
// 默认取最后一个摄像头
|
||||
video_scan_selected_deviceid = videoInputDevices[videoInputDevices.length-1].deviceId;
|
||||
// 画像翻转
|
||||
$video_scan.addClass('picture-reverse');
|
||||
}
|
||||
// 大于一个则增加列表切换
|
||||
if(videoInputDevices.length > 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue