diff options
Diffstat (limited to 'node_modules/@jet-app/app-store/tmp/src/common/constants/video-constants.js')
| -rw-r--r-- | node_modules/@jet-app/app-store/tmp/src/common/constants/video-constants.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/node_modules/@jet-app/app-store/tmp/src/common/constants/video-constants.js b/node_modules/@jet-app/app-store/tmp/src/common/constants/video-constants.js new file mode 100644 index 0000000..22d3a89 --- /dev/null +++ b/node_modules/@jet-app/app-store/tmp/src/common/constants/video-constants.js @@ -0,0 +1,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
\ No newline at end of file |
