Instacam is a library to perform instant canvas video through the WebRTC API with a fresh touch of CSS filters.
Instacam is fully tested on Google Chrome for desktop (latest public released version). The library is compatible with browsers that natively support the HTML5 canvas
tag, requestAnimationFrame
API, HTMLMediaElement
API, navigator.mediaDevices
and Promises
API. The CSS filtering requires the CSS filter
features to properly work.
Official support on Chrome 52+, Firefox 52+, Edge 15+ and Opera 52+. Many other browsers may work, but are not extensively tested. You can check at any time the support table about the partial or full support of these features.
Instacam is published on the NPM (Node Package Manager) registry, so you can install it through the command line interpreter using your favorite package manager:
# npm
npm install instacam
# yarn
yarn add instacam
For other implementation of Instacam in your project, see the usage documentation
Here you will find the documentation describing how to use the library.
- How it works - how the library do the stuff
- Markup - how should the HTML and CSS look like
- Usage - how to use Instacam
- Data attributes - set of data attributes
- Properties - all available properties
- Methods - all available methods
- Callbacks - all available callbacks
- Demo - Instacam in action
If you want to report a bug or request a new feature/improvement, please read the project contributors guidelines before. Thanks for taking time to contribute.
The project is developed under the MIT license:
- Permissions: This software and derivatives may be used for commercial purposes, you may distribute this software, this software may be modified and you may use and modify the software without distributing it.
- Conditions: Include a copy of the license and copyright notice with the code.
- Limitations: Software is provided without warranty and the software author/license owner cannot be held liable for damages.
Read the full license for more information about your rights.
If you have any questions, please feel free to contact me!
xavier.foucrier [at] gmail.com