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

Implementing a Scroll-Triggered 'Video Scrub' Sequence

Customize the variables below to instantly engineer your prompt.

Required Variables

gsap-video-scrub-scrolltrigger.txt
Act as a Multimedia Integration Expert. Generate a highly robust, frame-perfect GSAP script explicitly engineered to 'scrub' a high-definition HTML5 `<video>` based entirely on the user's Y-axis scroll progress. Target the specific [VIDEO_SELECTOR] and mathematically map its `currentTime` property directly to a ScrollTrigger timeline's progress ratio. Define strict [START_END_MARKERS] (`start: 'top top'`, `end: '+=300%'`) to control the physical scroll distance required to complete the video. You must implement a [SCRUB_SMOOTHNESS] variable to apply friction and prevent catastrophic frame-skipping during rapid mouse-wheel inputs. Crucially, detail a bulletproof [MOBILE_CODEC_FALLBACK] strategy (e.g., swapping to an image sequence or static CSS) for iOS/Android devices that inherently restrict programmatic video seeking or inline autoplay.

Example Text Output

"A cinematic effect where a 4K video of a product assembly unfolds precisely as the user scrolls down the page."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Implementing a Scroll-Triggered 'Video Scrub' Sequence" prompt used for?

A cinematic effect where a 4K video of a product assembly unfolds precisely as the user scrolls down the page.

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.