A vanilla JavaScript project packed with all the basic features of a camera, such as photo, video, switching camera and other necessary options, with everything easy-to-customise and use! It also has some advanced options like dual-capture (front + rear) and zoom capabilities.
- Custom Event triggers
- Fully Customisable Web Components
- Permissions UI
- Easy to install into projects using a cdn
- Custom class
new CameraJS()
- Choice of features to opt-in (no-switch-mode, only-photo, only-video, only-stream, etc)
- Control of default state of the app (initState - front-camera, video-mode, etc)
Thank you for considering contributing to CameraJS! Before making contributions, please read the following guidelines:
- If you're unsure or have questions, feel free to open an issue for discussion.
- Before starting work on a feature or bug fix, please check the existing issues and pull requests to see if someone else is already working on it.
- If you plan to contribute major changes, it's a good idea to discuss them first through an issue.
- Please follow the existing code style and conventions used in the project.
- Ensure that your code is well-tested before submitting a pull request.
- Make sure to include informative commit messages.
- When submitting a pull request, provide a clear description of the changes and the problem it solves.
- Be respectful and constructive in all communications.
This project is licensed under MIT License and is open-source and free to use in both your personal and commercial projects.