forked from adaptlearning/adapt-contrib-media
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.json
87 lines (87 loc) · 3.25 KB
/
example.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
{
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "media",
"_classes": "",
"_layout": "full",
"title": "Title of the media component",
"displayTitle": "Title of the media component",
"body": "This is optional body text.",
"instruction": "Select the play button to start the video.",
"_comment": "_setCompletionOn = inview | play | ended",
"_setCompletionOn": "play",
"_useClosedCaptions": true,
"_allowFullScreen": true,
"_pauseWhenOffScreen": false,
"_playsinline": false,
"_preventForwardScrubbing": false,
"_startLanguage": "en",
"_showVolumeControl": true,
"_startVolume": "80%",
"_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": ""
},
"_pageLevelProgress": {
"_isEnabled": true
}
}