split into inner component again

This commit is contained in:
Samuel Newman
2024-07-04 17:41:27 +01:00
parent d3d235023e
commit bf71a5c80a
4 changed files with 97 additions and 45 deletions
@@ -13,7 +13,7 @@ import {atoms as a} from '#/alf'
import {Text} from '#/components/Typography'
import {useVideoPlayer} from './VideoPlayerContext'
export const VideoEmbedInner = ({}: {source: string}) => {
export function VideoEmbedInner({}: {source: string; active: boolean}) {
const player = useVideoPlayer()
const aref = useAnimatedRef<Animated.View>()
const {height: windowHeight} = useWindowDimensions()