my fork of the bluesky client

[Video] Prevent screen from dimming while in full screen (#5637)

authored by hailey.at and committed by

GitHub 509b37fa ee25b898

+7 -7
+1 -1
package.json
··· 68 "@fortawesome/free-regular-svg-icons": "^6.1.1", 69 "@fortawesome/free-solid-svg-icons": "^6.1.1", 70 "@fortawesome/react-native-fontawesome": "^0.3.2", 71 - "@haileyok/bluesky-video": "0.1.10", 72 "@lingui/react": "^4.5.0", 73 "@mattermost/react-native-paste-input": "^0.7.1", 74 "@miblanchard/react-native-slider": "^2.3.1",
··· 68 "@fortawesome/free-regular-svg-icons": "^6.1.1", 69 "@fortawesome/free-solid-svg-icons": "^6.1.1", 70 "@fortawesome/react-native-fontawesome": "^0.3.2", 71 + "@haileyok/bluesky-video": "0.2.2", 72 "@lingui/react": "^4.5.0", 73 "@mattermost/react-native-paste-input": "^0.7.1", 74 "@miblanchard/react-native-slider": "^2.3.1",
+2 -2
src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx
··· 8 9 import {HITSLOP_30} from '#/lib/constants' 10 import {useAutoplayDisabled} from '#/state/preferences' 11 - import {useVideoMuteState} from 'view/com/util/post-embeds/VideoVolumeContext' 12 import {atoms as a, useTheme} from '#/alf' 13 import {useIsWithinMessage} from '#/components/dms/MessageContext' 14 import {Mute_Stroke2_Corner0_Rounded as MuteIcon} from '#/components/icons/Mute' ··· 87 /> 88 <VideoControls 89 enterFullscreen={() => { 90 - videoRef.current?.enterFullscreen() 91 }} 92 toggleMuted={() => { 93 videoRef.current?.toggleMuted()
··· 8 9 import {HITSLOP_30} from '#/lib/constants' 10 import {useAutoplayDisabled} from '#/state/preferences' 11 + import {useVideoMuteState} from '#/view/com/util/post-embeds/VideoVolumeContext' 12 import {atoms as a, useTheme} from '#/alf' 13 import {useIsWithinMessage} from '#/components/dms/MessageContext' 14 import {Mute_Stroke2_Corner0_Rounded as MuteIcon} from '#/components/icons/Mute' ··· 87 /> 88 <VideoControls 89 enterFullscreen={() => { 90 + videoRef.current?.enterFullscreen(true) 91 }} 92 toggleMuted={() => { 93 videoRef.current?.toggleMuted()
+4 -4
yarn.lock
··· 4120 resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" 4121 integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== 4122 4123 - "@haileyok/bluesky-video@0.1.10": 4124 - version "0.1.10" 4125 - resolved "https://registry.yarnpkg.com/@haileyok/bluesky-video/-/bluesky-video-0.1.10.tgz#2756e8c83a78caeb6b120a175578eac1eb6889a9" 4126 - integrity sha512-W8+DNdek+xjAqTO1zmuuSrkVFxDepcP8+Gs8MvIcYSgXEJlpQimZpcMwAduiDI/jZMn/2U6cnMahx7YuiZlZ7g== 4127 4128 "@hapi/accept@^6.0.3": 4129 version "6.0.3"
··· 4120 resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" 4121 integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== 4122 4123 + "@haileyok/bluesky-video@0.2.2": 4124 + version "0.2.2" 4125 + resolved "https://registry.yarnpkg.com/@haileyok/bluesky-video/-/bluesky-video-0.2.2.tgz#062ef6f52376f2f8e5b787a73bbb4f66cfd3cbf3" 4126 + integrity sha512-N8aGu27xO99HaV957EfvB2StYRY3Gf2TdijTkYmzwULuM9aij2YeyVzDoAd4P+qYh21MRMITnJ4652sUM+SUbw== 4127 4128 "@hapi/accept@^6.0.3": 4129 version "6.0.3"