This repository has been archived by the owner on Jun 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.js
211 lines (211 loc) · 7.02 KB
/
config.js
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
displaySystem.config({
//websocket host to listen to
wsHost: "localhost:13900/",
//host to listen to in case of a secure connection
wssHost: "localhost.daplie.com:13900/",
//specify the node that is being subscribed to when using mserver
mserverNode: "default",
//modules, order determines z stacking
modules: {
'background': {
// visible: false
color: 'black',
//optional chromakey background color
// color: "lime",
},
'camera': {
// visible: true,
// audio: true,
},
'gallery': {
visible: true,
transition: 'fade',
size: 'cover',
timeout: 4,
images: [
'http://lorempixel.com/640/480/people/1',
'http://lorempixel.com/640/480/people/2',
'http://lorempixel.com/640/480/people/3',
'http://lorempixel.com/640/480/people/4'
],
pages: [
// 'http://www.fll-tools.com/'
],
},
'clock': {
visible: true,
// countdown: 20,
},
'time': {
visible: true,
// format: "MM:ss",
},
'twitter': {
// visible: true,
// speed: 500,
},
'lowThird': {
visible: true,
line1: '❤️ press \'C\'',
line2: 'to show the control window',
},
'list': {
// visible: true,
header: 'results round 1',
data: [
['🇳🇱 just try',1],
['🇳🇱 to copy',2],
['🇪🇬 and paste',3],
['🇪🇬 some cells',4],
['🇪🇬 from excel',5],
['🇺🇸 into the control',6],
['🇺🇸 window! You\'ll be',7],
['🇺🇸 amazed!',8],
['🇳🇱 It even has',8],
['🇳🇱 automatic',8],
['🇳🇱 paging',8],
],
timer: 5000,
lines: 8
},
'table': {
// visible: true,
header: ['team name', 'number', 'score 1', 'score 2'],
data: [
['yuby',1, 100, 167],
['ahgf',2, 120, 198],
['butny',3, 10, 387],
['batey',4, 140, 243],
['meroy',5, 101, 543],
['marnc',6, 123, 198],
['arben',7, 189, 123],
['opic',8, 203, 431],
['poner',9, 403, 142],
['notar',10, 257, 289],
['serminc',11, 143, 365],
],
timer: 10000,
lines: 8
},
'sprite': {
visible: true,
sprites: [{
width: '14em',
top: '1vh',
left: '5em',
textAlign: 'center',
class: 'spritetext primary exitleft',
html: 'Master Builder'
},{
width: '10em',
top: '12vh',
left: '7em',
textAlign: 'center',
class: 'spritetext standout exitright',
html: 'FIRST LEGO League'
},{
width: '10em',
top: '24vh',
left: '7em',
textAlign: 'center',
class: 'spritetext primary exitleft',
html: 'Scoring software'
},{
width: '10em',
top: '36vh',
left: '7em',
textAlign: 'center',
class: 'spritetext secondary exitright',
html: 'Display system'
},{
width: '6em',
top: '70vh',
right: '-1em',
padding: '0.2em 1em 0.2em 0em',
class: 'spriteimage primary exitright',
html: '<img class="medium" src="/themes/rednblue-plus/img/FIRSTLego_iconHorz_RGB.png"></img>'
},{
width: '18em',
top: '68vh',
left: '2em',
fontSize: '4vh',
textAlign: 'left',
padding: '0.2em 1.2em',
class: 'spritetext secondary exitleft',
html: 'Dean L. Kamen (born April 5, 1951) is an American engineer, inventor, and businessman. He is best known for his invention of the Segway, as well as founding FIRST with Woodie Flowers.'
},{
width: '8em',
top: '61vh',
left: '7em',
fontSize: '6vh',
textAlign: 'center',
class: 'spritetext primary exitleft',
html: 'Dean L. Kamen'
},]
},
'css': {
href: [
'themes/rednblue-plus/rednblue-plus.css',
// 'themes/rednblue-plus/rednblue-plus-mod-rtl.css',
// 'themes/rednblue-plus/rednblue-plus-mod-opaque.css'
],
// href: [
// 'themes/rednblue/rednblue.css',
// // 'themes/rednblue/rednblue-mod-rtl.css'
// ],
// href: 'themes/default/default.css',
// gist: '9c7e4efaba9dbbc4831b'
},
'geometry': {
zoom: 1,
aspect: 'native',
rotation: 0,
overscan: [0,0,0,0]
},
'keybindings': {
'q': 'time.show()',
'a': 'time.hide()',
'w': 'clock.show()',
's': 'clock.hide()',
'e': 'lowThird.show()',
'd': 'lowThird.hide()',
'r': 'twitter.show()',
'f': 'twitter.hide()',
't': 'list.show()',
'g': 'list.hide()',
'y': 'table.show()',
'h': 'table.hide()',
'c': 'controls.open()',
// 'c': function() {
// window.open('controls.html','fllDisplayControlWindow','resize=yes,width=800,height=350');
// }
},
'controls': {
//url: <your own control window>
},
'emojione': {
// displays emoji characters
selector: '.line1, .list-cell, .tweet'
},
'macro': {
'magic':[
'lowThird.hide()',
'twitter.hide()',
'time.hide()',
'clock.hide()',
'macro.wait(0.3)',
'lowThird.show()',
'time.show()',
'clock.show()',
'macro.showList()'
],
'showList':[
'macro.wait(2)',
'lowThird.hide()',
'list.show()'
]
}
},
//path to the modules, can even be a full url
modulePath: "modules"
});