diff --git a/src/components/Post/Embed/ExternalEmbed/Gif.tsx b/src/components/Post/Embed/ExternalEmbed/Gif.tsx
index 0a455b546e..21211e3b33 100644
--- a/src/components/Post/Embed/ExternalEmbed/Gif.tsx
+++ b/src/components/Post/Embed/ExternalEmbed/Gif.tsx
@@ -1,6 +1,5 @@
import {useRef, useState} from 'react'
import {
- Pressable,
type StyleProp,
StyleSheet,
TouchableOpacity,
@@ -17,60 +16,13 @@ import {useAutoplayDisabled} from '#/state/preferences'
import {useLargeAltBadgeEnabled} from '#/state/preferences/large-alt-badge'
import {atoms as a, useTheme} from '#/alf'
import {Fill} from '#/components/Fill'
-import {Loader} from '#/components/Loader'
+import {MediaInsetBorder} from '#/components/MediaInsetBorder'
import * as Prompt from '#/components/Prompt'
import {Text} from '#/components/Typography'
-import {PlayButtonIcon} from '#/components/video/PlayButtonIcon'
import {IS_WEB} from '#/env'
import {GifView} from '../../../../../modules/expo-bluesky-gif-view'
import {type GifViewStateChangeEvent} from '../../../../../modules/expo-bluesky-gif-view/src/GifView.types'
-
-function PlaybackControls({
- onPress,
- isPlaying,
- isLoaded,
-}: {
- onPress: () => void
- isPlaying: boolean
- isLoaded: boolean
-}) {
- const {_} = useLingui()
- const t = useTheme()
-
- return (
-
- {!isLoaded ? (
-
-
-
-
-
- ) : !isPlaying ? (
-
- ) : undefined}
-
- )
-}
+import {GifPresentationControls} from '../VideoEmbed/GifPresentationControls'
export function GifEmbed({
params,
@@ -120,8 +72,6 @@ export function GifEmbed({
style={[
a.rounded_md,
a.overflow_hidden,
- a.border,
- t.atoms.border_contrast_low,
{backgroundColor: t.palette.black},
{aspectRatio},
style,
@@ -139,10 +89,11 @@ export function GifEmbed({
right: -2,
},
]}>
-
+
{isLoading ? (
@@ -51,7 +49,7 @@ export function GifPresentationControls({
style={[
t.name === 'light' ? t.atoms.bg_contrast_975 : t.atoms.bg,
{
- opacity: 0.3,
+ opacity: 0.2,
zIndex: 1,
},
]}