Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#React

Advanced AI Prompt for Sticky Video Scrubbing on Scroll

Customize the variables below to instantly engineer your prompt.

Required Variables

sticky-video-scrubbing-scroll-framer-motion.txt
Engineer a React component that scrubs through a video file based on scroll position using Framer Motion and the HTML5 Video API. The video at [VIDEO_URL] should be sticky. Map scrollYProgress to the 'currentTime' property of the video. Implement a 'smoothing' layer using useSpring with [SCRUB_SMOOTHNESS] to prevent frame jumping. Include logic to preload the video and show [FALLBACK_IMAGE] during loading. Optimize for [FRAME_RATE_TARGET] by throttling the update frequency. Document the necessary video encoding settings (e.g., frequent keyframes) required for this effect to work smoothly in browsers.

Example Text Output

"The AI will generate a component where the user 'plays' a video forward or backward by scrolling, creating a highly interactive cinematic experience."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Sticky Video Scrubbing on Scroll" prompt used for?

The AI will generate a component where the user 'plays' a video forward or backward by scrolling, creating a highly interactive cinematic experience.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.