new intersectionobserver approach - wip

This commit is contained in:
Samuel Newman
2024-07-25 20:04:38 +01:00
parent f0aa636762
commit dcd5a6a188
4 changed files with 155 additions and 152 deletions
@@ -17,6 +17,8 @@ export function VideoEmbedInner({}: {
source: string
active: boolean
setActive: () => void
sendPosition: (position: number) => void
onScreen: boolean
}) {
const player = useVideoPlayer()
const aref = useAnimatedRef<Animated.View>()