Webflow sync, pageviews & more.
NEW

Is there a solution to create a video element in Webflow that plays based on mouse scroll and can be controlled using the "while page is scrolling interaction" option?

TL;DR
  • Convert your video to a Lottie animation using After Effects and Bodymovin or an image sequence tool.
  • Upload the .json file to Webflow, add a Lottie element, set playback to scroll, and use "While page is scrolling" interactions to sync animation to scroll.

Webflow does not support direct video scrubbing (frame-by-frame control) via scroll natively, but a workaround using the Lottie animation system can achieve this effect.

1. Convert Your Video to an Image Sequence or Lottie Animation

  • Webflow’s interactions such as “While page is scrolling” only work with elements like Lottie animations, properties like opacity, transforms, etc.
  • For scroll-driven video playback behavior, convert your video into a Lottie animation (JSON format) using After Effects + the Bodymovin plugin.
  • Alternatively, export your video as an image sequence and convert it into a Lottie-style animation using tools like Pixasso or Haiku Animator.

2. Upload the Lottie File to Webflow

  • Go to the Assets panel in Webflow and upload your .json Lottie file.
  • Drag a Lottie animation element into the canvas and assign the animation.

3. Set the Lottie to Scroll Control

  • Select the Lottie animation element.
  • In the Element Settings panel, set the Playback option to “Scroll”.
  • Now it will sync the animation timeline with the scrolling action of the page.

4. Add a “While Page is Scrolling” Interaction

  • Go to the Interactions panel (lightning icon).
  • Add a Page Trigger > While page is scrolling.
  • From here, you can optionally link other animations or styles to match the video playback for a more immersive experience.

5. Notes & Limitations

  • Actual video elements in Webflow (like YouTube embeds or uploaded MP4s) cannot be scrubbed frame-by-frame via interactions like “While page is scrolling.”
  • Lottie is the only native method inside Webflow to enable scroll-controlled visual playback.
  • For high-density, high-resolution video scrubbing, consider external libraries (e.g., ScrollMagic + GSAP) and custom code outside Webflow.

Summary

To simulate scroll-based video playback in Webflow, convert your video into a Lottie animation and set it to playback based on scroll. Native video elements can't be scrubbed using Webflow's existing interaction tools.

Rate this answer

Other Webflow Questions