mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
20 lines
426 B
HTML
20 lines
426 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script src="../packages/jspsych/dist/index.browser.js"></script>
|
|
<script src="../packages/plugin-initialize-camera/dist/index.browser.js"></script>
|
|
<link rel="stylesheet" href="../packages/jspsych/css/jspsych.css">
|
|
</head>
|
|
<body></body>
|
|
<script>
|
|
|
|
var jsPsych = initJsPsych();
|
|
|
|
let init_camera = {
|
|
type: jsPsychInitializeCamera,
|
|
}
|
|
|
|
jsPsych.run([init_camera]);
|
|
|
|
</script>
|
|
</html> |