From bce557cc2dc767628bed6aac87301a1be7c5431b Mon Sep 17 00:00:00 2001 From: rxliuli Date: Tue, 4 Nov 2025 05:03:50 +0800 Subject: init commit --- .../tmp/src/common/constants/video-constants.js | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 node_modules/@jet-app/app-store/tmp/src/common/constants/video-constants.js (limited to 'node_modules/@jet-app/app-store/tmp/src/common/constants/video-constants.js') 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 -- cgit v1.2.3