-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcfg-example.js
75 lines (74 loc) · 1.05 KB
/
cfg-example.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
window.Dvdnavcfg = {
"movieFile": "./example.mp4",
"scenes": {
"start": {
"start": 0.0,
"end": 1.0 - 1/25,
"idleAtEnd": true,
"buttons": [
{
"x": 0.05,
"y": 0.05,
"w": 0.4,
"h": 0.4,
"targetScene": "s100"
},
{
"x": 0.55,
"y": 0.05,
"w": 0.4,
"h": 0.4,
"targetScene": "s200"
},
{
"x": 0.05,
"y": 0.55,
"w": 0.4,
"h": 0.4,
"targetScene": "s300"
},
{
"x": 0.55,
"y": 0.55,
"w": 0.4,
"h": 0.4,
"targetScene": "s400"
}
]
},
"s100": {
"start": 4.0,
"end": 8.0 - 1/25,
"keyWindow": {
"start": 4.0,
"end": 8.0 - 1/25,
"delayed": false
},
"after": {
"h": "start",
"n": "s200"
},
},
"s200": {
"start": 8.0,
"end": 11.0 - 1/25,
"keyWindow": {
"start": 8.0,
"end": 11.0 - 1/25,
"delayed": true
},
"after": {
"h": "start",
"n": "s300"
},
},
"s300": {
"start": 12.0,
"end": 14.0
},
"s400": {
"start": 16.0,
"end": 16.5
}
}
};