forked from cgkineo/adapt-graphicVideo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.json
More file actions
32 lines (31 loc) · 775 Bytes
/
Copy pathexample.json
File metadata and controls
32 lines (31 loc) · 775 Bytes
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
// course.json
{
"_graphicVideo": {
"_isEnabled": true,
"_fileExtension": "mp4,avif",
"_loops": true,
"_autoPlay": true,
"_onScreenPercentInviewVertical": 1,
"_offScreenPause": true,
"_offScreenRewind": true,
"_showPauseControl": false,
"_onPauseRewind": false
}
}
// components.json - Example using a video file in a Graphic component
{
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "graphic",
"_classes": "",
"_layout": "left",
"title": "Graphic component",
"displayTitle": "",
"body": "",
"instruction": "",
"_graphic": {
"large": "course/en/video/media.mp4",
"small": "course/en/video/media.mp4"
}
}