File: examples/simple.html

Recommend this page to a friend!
  Classes of Andras Toth  >  Expert JS Camera Capture  >  examples/simple.html  >  Download  
File: examples/simple.html
Role: Example script
Content type: text/plain
Description: Documentation
Class: Expert JS Camera Capture
Capture video and audio and save to files
Author: By
Last change: Update of examples/simple.html
Date: 2 months ago
Size: 718 bytes
 

Contents

Class file image Download
<!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>