Skip to content

Commit

Permalink
use new param when entering fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok committed Oct 7, 2024
1 parent 476966c commit 3cc0e0f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {useLingui} from '@lingui/react'

import {HITSLOP_30} from '#/lib/constants'
import {useAutoplayDisabled} from '#/state/preferences'
import {useVideoMuteState} from 'view/com/util/post-embeds/VideoVolumeContext'
import {useVideoMuteState} from '#/view/com/util/post-embeds/VideoVolumeContext'
import {atoms as a, useTheme} from '#/alf'
import {useIsWithinMessage} from '#/components/dms/MessageContext'
import {Mute_Stroke2_Corner0_Rounded as MuteIcon} from '#/components/icons/Mute'
Expand Down Expand Up @@ -87,7 +87,7 @@ export const VideoEmbedInnerNative = React.forwardRef(
/>
<VideoControls
enterFullscreen={() => {
videoRef.current?.enterFullscreen()
videoRef.current?.enterFullscreen(true)
}}
toggleMuted={() => {
videoRef.current?.toggleMuted()
Expand Down

0 comments on commit 3cc0e0f

Please sign in to comment.