forked from adaptlearning/adapt-contrib-media
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.json
More file actions
77 lines (77 loc) · 2.6 KB
/
example.json
File metadata and controls
77 lines (77 loc) · 2.6 KB
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
{
"_id":"c-15",
"_parentId":"b-10",
"_type":"component",
"_component":"media",
"_classes":"",
"_layout":"left",
"title":"Title of the media component",
"displayTitle": "Title of the media component",
"body": "This is optional body text. Select the play button to start the video.",
"instruction": "",
"_setCompletionOn":"inview",
"_useClosedCaptions":true,
"_startLanguage":"en",
"_media": {
"mp4": "course/assets/big_buck_bunny.mp4",
"ogv": "course/assets/big_buck_bunny.ogv",
"poster": "course/assets/big-buck-bunny.jpg",
"cc": [
{
"srclang": "en",
"src": "course/en/video/big_buck_bunny_sub.vtt"
},
{
"srclang": "pl",
"src": "course/en/video/big_buck_bunny_sub-pl.vtt"
}
]
},
"_transcript": {
"_setCompletionOnView":true,
"_inlineTranscript": true,
"_externalTranscript": false,
"inlineTranscriptButton": "Transcript",
"inlineTranscriptCloseButton": "Close Transcript",
"inlineTranscriptBody": "Transcript body text should go here",
"transcriptLinkButton": "Transcript",
"transcriptLink": "assets/transcript.pdf"
},
"_playerOptions": {
"poster": "",
"showPosterWhenEnded": false,
"defaultVideoWidth": 480,
"defaultVideoHeight": 270,
"videoWidth": -1,
"videoHeight": -1,
"defaultAudioWidth": 400,
"defaultAudioHeight": 30,
"defaultSeekBackwardInterval": "(media.duration * 0.05)",
"defaultSeekForwardInterval": "(media.duration * 0.05)",
"audioWidth": -1,
"audioHeight": -1,
"startVolume": 0.8,
"loop": false,
"autoRewind": true,
"enableAutosize": true,
"alwaysShowHours": false,
"showTimecodeFrameCount": false,
"framesPerSecond": 25,
"autosizeProgress" : true,
"alwaysShowControls": false,
"hideVideoControlsOnLoad": false,
"clickToPlayPause": true,
"iPadUseNativeControls": false,
"iPhoneUseNativeControls": false,
"AndroidUseNativeControls": false,
"features": ["playpause","current","progress","duration","tracks","volume","fullscreen"],
"isVideo": true,
"enableKeyboard": true,
"pauseOtherPlayers": true,
"startLanguage": "",
"tracksText": "mejs.i18n.t('Captions/Subtitles')",
"hideCaptionsButtonWhenEmpty": true,
"toggleCaptionsButtonWhenOnlyOne": false,
"slidesSelector": ""
}
}