Skip to content

Commit 43c7482

Browse files
committed
feat: Inserted soccer video into video task instead of football. Updated the question to ask if the blue team scored.
1 parent 6174593 commit 43c7482

File tree

12 files changed

+65
-26
lines changed

12 files changed

+65
-26
lines changed

webcamstudy/asset-manifest.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{
22
"files": {
33
"main.css": "https://seresl.unl.edu/webcamstudy/static/css/main.3de88975.css",
4-
"main.js": "https://seresl.unl.edu/webcamstudy/static/js/main.9973a0f5.js",
4+
"main.js": "https://seresl.unl.edu/webcamstudy/static/js/main.635fdd58.js",
55
"static/js/453.e44939a0.chunk.js": "https://seresl.unl.edu/webcamstudy/static/js/453.e44939a0.chunk.js",
6-
"static/media/clip2.mp4": "https://seresl.unl.edu/webcamstudy/static/media/clip2.1e6e426f2cdb61fe74ec.mp4",
7-
"static/media/clip3.mp4": "https://seresl.unl.edu/webcamstudy/static/media/clip3.3341365941d9bce4b98b.mp4",
8-
"static/media/Fumble.mp4": "https://seresl.unl.edu/webcamstudy/static/media/Fumble.3518dee619e573342631.mp4",
6+
"static/media/soccer-vid.mp4": "https://seresl.unl.edu/webcamstudy/static/media/soccer-vid.4aa09d7760e7c517c175.mp4",
97
"static/media/monkey_business.mp4": "https://seresl.unl.edu/webcamstudy/static/media/monkey_business.1f9e790cb2f3f7dd1d75.mp4",
108
"static/media/MB_1210.jpg": "https://seresl.unl.edu/webcamstudy/static/media/MB_1210.de9328f43211b51d8588.jpg",
119
"static/media/MB_2362.jpg": "https://seresl.unl.edu/webcamstudy/static/media/MB_2362.ff588dab34906f0f235a.jpg",
@@ -224,11 +222,11 @@
224222
"static/media/left_right.mp4": "https://seresl.unl.edu/webcamstudy/static/media/left_right.9f5c2b82daf57a7954e4.mp4",
225223
"index.html": "https://seresl.unl.edu/webcamstudy/index.html",
226224
"main.3de88975.css.map": "https://seresl.unl.edu/webcamstudy/static/css/main.3de88975.css.map",
227-
"main.9973a0f5.js.map": "https://seresl.unl.edu/webcamstudy/static/js/main.9973a0f5.js.map",
225+
"main.635fdd58.js.map": "https://seresl.unl.edu/webcamstudy/static/js/main.635fdd58.js.map",
228226
"453.e44939a0.chunk.js.map": "https://seresl.unl.edu/webcamstudy/static/js/453.e44939a0.chunk.js.map"
229227
},
230228
"entrypoints": [
231229
"static/css/main.3de88975.css",
232-
"static/js/main.9973a0f5.js"
230+
"static/js/main.635fdd58.js"
233231
]
234232
}

webcamstudy/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://seresl.unl.edu/webcamstudy/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="https://seresl.unl.edu/webcamstudy/logo192.png"/><link rel="manifest" href="https://seresl.unl.edu/webcamstudy/manifest.json"/><title>React App</title><script type="module">import EmbeddedPageSdk from"https://app.realeye.io/sdk/js/testRunnerEmbeddableSdk-1.7.1.js";let reSdk=null;window.addEventListener("DOMContentLoaded",()=>{reSdk=new EmbeddedPageSdk(!1,null,!1),reSdk.startNextExposure()}),window.addEventListener("endmeplease",()=>{reSdk&&reSdk.finishEyeTrackingTest()})</script><script defer="defer" src="https://seresl.unl.edu/webcamstudy/static/js/main.9973a0f5.js"></script><link href="https://seresl.unl.edu/webcamstudy/static/css/main.3de88975.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://seresl.unl.edu/webcamstudy/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="https://seresl.unl.edu/webcamstudy/logo192.png"/><link rel="manifest" href="https://seresl.unl.edu/webcamstudy/manifest.json"/><title>React App</title><script type="module">import EmbeddedPageSdk from"https://app.realeye.io/sdk/js/testRunnerEmbeddableSdk-1.7.1.js";let reSdk=null;window.addEventListener("DOMContentLoaded",()=>{reSdk=new EmbeddedPageSdk(!1,null,!1),reSdk.startNextExposure()}),window.addEventListener("endmeplease",()=>{reSdk&&reSdk.finishEyeTrackingTest()})</script><script defer="defer" src="https://seresl.unl.edu/webcamstudy/static/js/main.635fdd58.js"></script><link href="https://seresl.unl.edu/webcamstudy/static/css/main.3de88975.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

webcamstudy/src/App.jsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,8 @@ function App() {
209209
const determineVideoCorrectness = (answer) => {
210210
// Define correct answers for video comprehension
211211
const correctAnswers = {
212-
'Sports performance': true,
213-
'Educational content': false,
214-
'Entertainment': false,
215-
'Documentary footage': false
212+
'No': true,
213+
'Yes': false
216214
};
217215
return correctAnswers[answer] || false;
218216
};

webcamstudy/src/assets/Fumble.mp4

-4.61 MB
Binary file not shown.

webcamstudy/src/assets/clip2.mp4

-36.4 MB
Binary file not shown.

webcamstudy/src/components/VideoSurvey.jsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ const VideoSurvey = ({ onSubmit }) => {
1616
<div style={styles.container}>
1717
<form onSubmit={handleSubmit} style={styles.form}>
1818
<h2 style={styles.title}>Video Comprehension Question</h2>
19-
<h3 style={styles.question}>What was the main focus of the video you just watched?</h3>
19+
<h3 style={styles.question}>Did the blue team score in the video?</h3>
2020

2121
<div style={styles.radioGroup}>
2222
{[
23-
'Sports performance',
24-
'Educational content',
25-
'Entertainment',
26-
'Documentary footage'
23+
'Yes',
24+
'No'
2725
].map(option => (
2826
<label key={option} style={styles.radioLabel}>
2927
<input

webcamstudy/src/components/VideoTask.jsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,9 @@ import React, { useEffect, useRef, useState } from 'react';
22

33
const VIDEOS = [
44
{
5-
src: require('../assets/Fumble.mp4'),
5+
src: require('../assets/soccer-vid.mp4'),
66
type: 'video/mp4',
7-
},
8-
{
9-
src: require('../assets/clip2.mp4'),
10-
type: 'video/mp4',
11-
},
12-
{
13-
src: require('../assets/clip3.mp4'),
14-
type: 'video/mp4',
15-
},
7+
}
168
];
179

1810
function pickRandomVideo() {

webcamstudy/static/js/main.635fdd58.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/**
2+
* @license React
3+
* react-dom-client.production.js
4+
*
5+
* Copyright (c) Meta Platforms, Inc. and affiliates.
6+
*
7+
* This source code is licensed under the MIT license found in the
8+
* LICENSE file in the root directory of this source tree.
9+
*/
10+
11+
/**
12+
* @license React
13+
* react-dom.production.js
14+
*
15+
* Copyright (c) Meta Platforms, Inc. and affiliates.
16+
*
17+
* This source code is licensed under the MIT license found in the
18+
* LICENSE file in the root directory of this source tree.
19+
*/
20+
21+
/**
22+
* @license React
23+
* react-jsx-runtime.production.js
24+
*
25+
* Copyright (c) Meta Platforms, Inc. and affiliates.
26+
*
27+
* This source code is licensed under the MIT license found in the
28+
* LICENSE file in the root directory of this source tree.
29+
*/
30+
31+
/**
32+
* @license React
33+
* react.production.js
34+
*
35+
* Copyright (c) Meta Platforms, Inc. and affiliates.
36+
*
37+
* This source code is licensed under the MIT license found in the
38+
* LICENSE file in the root directory of this source tree.
39+
*/
40+
41+
/**
42+
* @license React
43+
* scheduler.production.js
44+
*
45+
* Copyright (c) Meta Platforms, Inc. and affiliates.
46+
*
47+
* This source code is licensed under the MIT license found in the
48+
* LICENSE file in the root directory of this source tree.
49+
*/

0 commit comments

Comments
 (0)