summaryrefslogtreecommitdiff
path: root/node_modules/@jet-app/app-store/tmp/src/common/constants/video-constants.js
blob: 22d3a899bec292254cca2676887ba6258d4b761b (plain)
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
/**
 * Created by jellenbogen on 7/22/19.
 */
export function standardControls(objectGraph) {
    return {
        prominentPlay: true,
        fullScreenToggle: true,
        inlinePlayPause: true,
        muteUnmute: true,
    };
}
export function autoPlayControls(objectGraph) {
    return {
        prominentPlay: true,
        fullScreenToggle: false,
        inlinePlayPause: objectGraph.client.isMac,
        muteUnmute: true,
    };
}
export function defaultVideoConfiguration(objectGraph) {
    return {
        playbackControls: standardControls(objectGraph),
        autoPlayPlaybackControls: autoPlayControls(objectGraph),
    };
}
export function noControls(objectGraph) {
    return {
        prominentPlay: false,
        fullScreenToggle: false,
        inlinePlayPause: false,
        muteUnmute: false,
    };
}
//# sourceMappingURL=video-constants.js.map