| | |
| | | vc.component.editApplicationKeyInfo.startTime = vc.dateFormat(new Date().getTime()); |
| | | $('.editApplicationStartTime').datetimepicker({ |
| | | language: 'zh-CN', |
| | | format: 'yyyy-mm-dd HH:ii:ss', |
| | | format: 'yyyy-mm-dd hh:ii:ss', |
| | | initTime: true, |
| | | initialDate: new Date(), |
| | | autoClose: 1, |
| | |
| | | }); |
| | | $('.editApplicationEndTime').datetimepicker({ |
| | | language: 'zh-CN', |
| | | format: 'yyyy-mm-dd HH:ii:ss', |
| | | format: 'yyyy-mm-dd hh:ii:ss', |
| | | initTime: true, |
| | | initialDate: new Date(), |
| | | autoClose: 1, |
| | |
| | | try { |
| | | video.src = url ? url.createObjectURL(stream) : stream; |
| | | } catch (error) { |
| | | video.srcObject = stream; |
| | | video.srcObject = stream; |
| | | } |
| | | video.play(); |
| | | vc.component.editApplicationKeyInfo.videoPlaying = true; |