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

Advanced AI Prompt for Video Scrubbing Control via Scroll

Customize the variables below to instantly engineer your prompt.

Required Variables

gsap-video-scrubbing-scroll-control.txt
Act as a technical SEO and performance expert. Create a GSAP script that controls the playback of a background video ([VIDEO_ID]) based on scroll position. The [SECTION_HEIGHT] should determine the duration of the video 'playback'. Calculate the video duration and map it to the scroll progress. Provide a workaround for the 'canplaythrough' event to ensure the video metadata is loaded before ScrollTrigger initializes. Include a debounce function for the resize event.

Example Text Output

"The AI creates a script that updates the currentTime of an HTML5 video element relative to the scroll position for a frame-by-frame control effect."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Video Scrubbing Control via Scroll" prompt used for?

The AI creates a script that updates the currentTime of an HTML5 video element relative to the scroll position for a frame-by-frame control effect.

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.