Recommend this page to a friend!
  Classes of Raul   JavaScript Video Cam Kit   Download  
Role: Documentation
Content type: text/markdown
Description: Readme
Class: JavaScript Video Cam Kit
Embed webcam video and microphone audio on a page
Author: By
Last change: New readme markdown file
Date: 9 years ago
Size: 904 bytes


Class file image Download


Access web cam and microphone using only html5 and javascript userGetMedia() function

This object can embed webcam video and microphone audio on a page without a third-party plugin.

It takes a given page element and assign a video or audio source so it can display the user webcam video or microphone audio player in the specified page element.

The object can enable the capture of either video, audio or both.

The width and height of the player and the selector of the page element to embed the player are configurable parameters.

It works HTML5 browsers that implement getUserMedia like Webkit compatible browsers like Chrome and also Firefox.

*Exemple Usage*

// CamKit
var cam = new CamKit(); = true; = false;

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

// Mandatory
cam.selector = '#videoplay'