奇妙な理由で、このエラーが発生し始めました
TypeError: events.replace is not a function
。私は Jquery Webcam Plugin を使用しています。コードを再コンパイルしてこのエラーが発生するまで、フラッシュ プレーヤーのカメラを見ることができました。以下は、インポートしたスクリプトです。
スクリプト
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
<script src="<%=request.getContextPath()%>/resources/js/jQuery-webcam/jquery.webcam.js"></script>
<script src="<%=request.getContextPath()%>/resources/js/citizen_registration.js"></script>
<link href="<c:url value="/resources/css/forms.css" />" rel="stylesheet" type="text/css" media="screen" />
<link href="<c:url value="/resources/css/citizen_registration.css" />" rel="stylesheet" type="text/css" media="screen" />