File: index.html

Recommend this page to a friend!
  Classes of Raul  >  JavaScript Video Cam Kit  >  index.html  >  Download  
File: index.html
Role: Example script
Content type: text/plain
Description: Exemple usage
Class: JavaScript Video Cam Kit
Embed webcam video and microphone audio on a page
Author: By
Last change: New js location and new comment
Date: 7 years ago
Size: 476 bytes


Class file image Download
<!DOCTYPE html>
<html lang="pt-br">
    <meta charset="UTF-8" />
    <title>Cam Rec</title>
<video autoplay id="videoplay"></video>

<script src="js/CamKit.js" type="text/javascript"></script>
    // CamKit
    var cam = new CamKit(); = true; = false;

    cam.width = 600;
    cam.height = 400;

	// Mandatory
    cam.selector = '#videoplay'