forked from h5p/h5p-audio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsemantics.json
108 lines (108 loc) · 2.29 KB
/
semantics.json
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[
{
"name": "files",
"type": "audio",
"importance": "high",
"label": "Source files",
"disableCopyright": true
},
{
"name": "playerMode",
"type": "select",
"importance": "low",
"label": "Player mode",
"description": "Select the layout of the player.",
"options": [
{
"value": "minimalistic",
"label": "Minimalistic"
},
{
"value": "full",
"label": "Full"
},
{
"value": "transparent",
"label": "Transparent"
}
],
"default": "minimalistic"
},
{
"name": "fitToWrapper",
"type": "boolean",
"importance": "low",
"label": "Fit to wrapper",
"default": false,
"descriptions": "Adjust audioplayer size to use available space",
"widget": "showWhen",
"showWhen": {
"rules": [
{
"field": "playerMode",
"equals": "minimalistic"
},
{
"field": "playerMode",
"equals": "full"
}
]
}
},
{
"name": "controls",
"type": "boolean",
"importance": "low",
"label": "Enable controls",
"default": true,
"description": "Controls allow the user to for instance pause the audio",
"widget": "showWhen",
"showWhen": {
"rules": [
{
"field": "playerMode",
"equals": "full"
}
]
}
},
{
"name": "autoplay",
"type": "boolean",
"importance": "low",
"label": "Enable autoplay",
"description": "With autoplay the audio starts to play immediately. Do note that this is not supported by all browsers"
},
{
"name": "playAudio",
"type": "text",
"importance": "low",
"label": "Play audio (Readspeaker)",
"common": true,
"default": "Play audio"
},
{
"name": "pauseAudio",
"type": "text",
"importance": "low",
"label": "Pause audio (Readspeaker)",
"common": true,
"default": "Pause audio"
},
{
"name": "contentName",
"type": "text",
"importance": "low",
"label": "Audio content name",
"common": true,
"default": "Audio"
},
{
"name": "audioNotSupported",
"type": "text",
"label": "Audio not supported message",
"importance": "low",
"common": true,
"default": "Your browser does not support this audio"
}
]