What's Included
- TypeScript source (Player.tsx)
- Glass control button component (Control.tsx)
- Reanimated pan-drag + spring snap & detach logic
- Demo screen
- README with install + usage
About the Project
Built with react-native-reanimated worklets and react-native-gesture-handler: a Pan gesture drives shared values on the UI thread, and withSpring powers both the snap-to-corner on release and the detach animation that pushes the prev/next buttons apart while the center button is dragged. Playback uses expo-video (useVideoPlayer + VideoView, looping, native controls off). The frosted buttons use expo-glass-effect (GlassContainer/GlassView, clear + interactive) with SF Symbols from expo-symbols, so the glass and icons render on iOS only — Liquid Glass needs iOS 26 — and degrade on Android. Targets Expo SDK 54+ on the New Architecture and needs a development build (no custom native code, but it relies on native modules beyond Expo Go).