Socket
Socket
Sign inDemoInstall

@jspsych/plugin-initialize-camera

Package Overview
Dependencies
4
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @jspsych/plugin-initialize-camera

jsPsych plugin for getting permission to initialize the user's camera


Version published
Maintainers
2
Install size
122 kB
Created

Readme

Source

jspsych logo

jsPsych is a JavaScript framework for creating behavioral experiments that run in a web browser.

Plugin Description

The initialize-camera plugin asks the participant to grant permission to access the camera. If multiple cameras are connected to the partipicant's device, then it allows the participant to select which camera to use. Once access is granted for an experiment, you do not need to ask again, and the camera can be accessed by the jsPsych.pluginAPI.getCameraRecorder() function.

Examples

Several example experiments and plugin demonstrations are available in the /examples folder. After you've downloaded the latest release, double-click on an example HTML file to run it in your web browser, and open it with a programming-friendly text editor to see how it works.

Documentation

Documentation for this plugin is available here.

Getting help

For questions about using the library, please use the GitHub discussions forum. You can also browse through the history of Q&A on the forum to find related questions.

Contributing

We :heart: contributions! See the contributing to jsPsych documentation page for more information about how you can help.

Citation

If you use this library in academic work, please cite the paper that describes jsPsych:

de Leeuw, J.R. (2015). jsPsych: A JavaScript library for creating behavioral experiments in a Web browser. Behavior Research Methods, 47(1), 1-12. doi:10.3758/s13428-014-0458-y

Contributors

jsPsych is open source project with numerous contributors. The project is currently managed by the core team of Josh de Leeuw (@jodeleeuw), Becky Gilbert (@becky-gilbert), and Björn Luchterhandt (@bjoluc).

jsPsych was created by Josh de Leeuw.

We're also grateful for the generous support from a Mozilla Open Source Support award, which funded development of the library from 2020-2021.

FAQs

Last updated on 20 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc