-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.hjson
53 lines (51 loc) · 1.64 KB
/
config.hjson
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/** FreezeQuiz configuration
*
* Each question of a FreezeQuiz is displayed on a "slide". You can configure
* individual slides by setting their parameters in the 'slides' section of this
* file. Parameters that need to be shared between slides can be defined in the
* 'defaults' section.
*
* Available parameters:
* question Question text at the top of the slide.
* check_button Text to be displayed on the answer check button.
* answer_keys List of keys in the answer section to open each line.
* answer_values List of lines in the answer section.
* video Path to the video file, absolute or relative to OUT_DIR.
* timecode Timecode of the freeze-frame in seconds. Floating points
* can be used.
*
* All the parameters need to be defined for each slide, either in its
* individual configuration or in the defaults section. Slide-specific
* parameters can override the defaults.
*/
{
defaults: {
question: What's in the freeze-frame?
check_button: Check the answer
answer_keys: [
Answer
Explainer
]
}
slides: [
{
video: /path/to/file.mp4
timecode: 12.3
answer_values:
[
Example answer
Example explainer
]
}
{
video: ../relative/path/to/file.webm
timecode: 32.1
answer_values:
[
Walnuts
A walnut can be recognized by the unusual shape of its kernel
]
}
// define more slides here
]
}