<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ExpertCamJS</title>
</head>
<body>
<hr>
<h1 style="text-align:center;">Initialize with default options</h1>
<hr>
<video></video>
<hr>
<script type="text/javascript" src="../js/expertcam.js"></script>
<script type="text/javascript">
//path & video & auudio correction
var args = {
noSignal: '../media/no_signal.png',
constraints: {
video: true,
audio: false
}
};
new ExpertCamJS('video').init(args).play();
</script>
</body>
</html>
|