Scroll Video Documentation
Everything DP Scroll Video can do, setting by setting.
How to add the module, what each style does, and a full reference of every setting in the Content and Design tabs.
Overview
Tie a video to the scroll. It pins on screen while it plays, rewinds when visitors scroll back up, and can grow from a small rounded frame to full size, with your heading and text on top.
DP Scroll Video plays a video forward as the visitor scrolls down and rewinds it as they scroll up. By default it is pinned on screen while it plays; Scroll Length sets how far that is. Set a start and end time, smoothing, an optional heading and text, a progress bar and Grow From.
For smooth scrubbing, export the video with frequent keyframes (for example ffmpeg -g 8). Without a video, the module shows a sample scene that plays with the scroll.
In the builder
Search for DP and choose DP Scroll Video. It works the same in Divi 5 and Divi 4.
One effect, many options
Fine-tune it in the Content and Design tabs.
Single module
All the settings are on the module itself.
Adding it to a page
DP Scroll Video is part of DiviPerfect Modules. Once the plugin is active, the module is in the builder's module list.
Add the module
In the Divi builder, click the + button to add a module, search for DP and choose DP Scroll Video.
Add your content
Open the Content tab and fill in the module's own content settings. The module previews live in the builder as you type.
Fine-tune the design
Use the Design tab for sizes, colours and fonts, and Advanced for CSS classes, custom CSS and visibility, like any Divi module. Empty colour settings use the style's own colours.
Features
DP Scroll Video ties a video to the scroll. The video plays forward as visitors scroll down and rewinds as they scroll up, and it can stay pinned on screen while it plays. Use it for product reveals, step-by-step stories or a hero with text over the video.
Scroll-driven playback
The video's playhead follows the scroll position: forward when scrolling down and back when scrolling up.
Pin while playing
The video can hold on screen while it plays, with a top offset for fixed headers. With pinning off, it plays as it passes through the screen.
Scroll length
Scroll Length sets how far visitors scroll to play the whole video. Longer means slower playback.
Play part of a video
Start At and End At play only a section of the video, in seconds.
Smoothing
The video eases to catch up with the scroll. Set Smoothing to 0 to follow the scroll exactly.
Text overlay
An optional heading and text sit over the video, with a choice of position and of how the text fades as the video plays.
Growing, rounded frame
The frame can start smaller and grow to full size as the video begins, with rounded corners that ease to square.
Progress bar and darkening
A thin progress bar shows how far the video has played, and Darken Video helps the text read well.
How to use it
Step-by-step guides for the things people most often want to do with DP Scroll Video.
How to add your video
- Open the module and go to Content > Video > Video.
- Upload an MP4 (H.264) or WebM file, or paste a link to one.
- Optionally add Content > Video > Poster Image. It shows until the video has loaded.
- For smooth scrubbing, export the video with a keyframe every few frames (for example ffmpeg -g 8).
How to set the playback speed
- Go to Content > Scroll Playback > Scroll Length.
- Increase it for slower playback, or decrease it for faster playback. It is measured in screen heights (vh).
- Use the tablet and phone icons to set a different length per device.
- Adjust Content > Scroll Playback > Smoothing. 0 follows the scroll exactly; higher values ease more gently.
How to pin the video below a fixed header
- Go to Content > Scroll Playback > Pin While Playing and turn it on.
- Set Pinned Top Offset to the height of your fixed header so the video sits below it.
- Use the tablet and phone icons on Pinned Top Offset if the header height changes per device.
- Turn Pin While Playing off if the video should play as it scrolls past instead.
How to play only part of the video
- Go to Content > Scroll Playback > Start At (seconds) and type the start time.
- Set End At (seconds). 0 plays to the end of the video.
- Shorten Scroll Length if the shorter clip now feels slow.
How to add text over the video
- Go to Content > Text Overlay > Heading and type the heading. Leave it empty for no heading.
- Add more text in Content > Text Overlay > Text.
- Set Heading Level (H1 to H4 or Paragraph) to suit the page structure.
- Pick a Text Position: Centre, Bottom left, Bottom centre or Top left.
- Pick a Text Motion: Fade out as it plays, Fade in near the end, Fade in then out, or Stay.
How to size and shape the video frame
- Go to Design > Video Frame > Video Height and set the frame height on screen.
- Set Video Fit to Fill the frame (crop) or Show all of it.
- Set Grow From below 100% to start the frame smaller and grow it to full size. 100% turns this off.
- Set Corner Radius to round the frame. It eases to square as the frame grows when Grow From is on.
- Use the tablet and phone icons on these settings for per-device values.
How to make the overlay text easier to read
- Go to Design > Video Frame > Darken Video and raise it until the text stands out.
- Open Design > Heading Text and Design > Body Text to set the font, size and colour of the overlay.
- Pick a Text Position away from the busiest part of the video.
How to show a progress bar
- Go to Design > Video Frame > Progress Bar and turn it on.
- The bar runs along the bottom of the frame and shows how far the video has played.
- Pick a Progress Bar Color. The default is white, which suits a darkened video.
Tips
- Videos with few keyframes scrub in jumps. Re-export with a keyframe every few frames for smooth playback.
- With no video set, the module shows a sample scene that plays with the scroll, so you can see the effect in the builder.
- If the pinned video hides under a fixed header, raise Pinned Top Offset.
- Keep the video file small. It has to load before it scrubs smoothly.
- Pick the overlay text colour in the Heading Text and Body Text groups. Darken Video and Progress Bar Color are set per module in Design > Video Frame.
Design Elements
The parts of DP Scroll Video you can style in the Design tab, and the options each part has. In Divi 4 the same groups have Background Color, Margin, Padding, Width, Max Width, Min Height, Height, Border and Box Shadow in the same toggle. Empty colour settings use the style's own colours, and text and accent colours follow your Divi theme colours.
Heading Text
Design tab
The overlay heading.
- Heading: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow).
Tip: Raise Darken Video before you reach for a text shadow.
Body Text
Design tab
The overlay text under the heading.
- Body: Font (family, weight, style, size, colour, line height, letter spacing, alignment, text shadow).
Tip: Keep the text short; it fades with the Text Motion you pick.
Video Frame
Design tab
The frame that holds the video.
Options: Video Height, Video Fit, Grow From, Corner Radius, Frame Background, Darken Video, Progress Bar, Progress Bar Color
Tip: Frame Background shows behind the video when it is letterboxed or still loading, so match it to the video's first frame.
Settings Reference
Every setting DP Scroll Video adds, in the order you find it in the builder. Divi's standard Design options (fonts, spacing, borders, box shadow, filters, transforms, animation) and the Advanced tab work as they do on any Divi module.
Video
Content tab
- Video: MP4 (H.264) or WebM upload or link. For smooth scrubbing, export it with a keyframe every few frames (for example ffmpeg -g 8). Video file.
- Poster Image: Optional. Shown until the video has loaded. Image.
Scroll Playback
Content tab
- Scroll Length: How far the visitor scrolls to play the whole video. Longer = slower playback. Range: 100 to 1200 vh. Default: 300vh.
- Pin While Playing: Holds the video on screen while it plays. Off: the video plays as it passes through the screen. On or off. Default: on.
- Pinned Top Offset: Space above the pinned video, for example under a fixed header. Range: 0 to 300 px. Default: 0px.
- Start At (seconds): Range: 0 to 600. Default: 0.
- End At (seconds): 0 plays to the end of the video. Range: 0 to 600. Default: 0.
- Smoothing: How gently the video catches up with the scroll. 0 follows it exactly. Range: 0 to 95 %. Default: 80%.
Text Overlay
Content tab
- Heading: Optional text over the video. Text.
- Text: Text.
- Heading Level: Options: H1, H2, H3, H4, Paragraph. Default: H2.
- Text Position: Options: Centre, Bottom left, Bottom centre, Top left. Default: Bottom left.
- Text Motion: Options: Fade out as it plays, Fade in near the end, Fade in, then out, Stay. Default: Fade out as it plays.
Video Frame
Design tab
- Video Height: Height of the video frame on screen. Range: 20 to 100 vh. Default: 100vh.
- Video Fit: Options: Fill the frame (crop), Show all of it. Default: Fill the frame (crop).
- Grow From: Starts the frame smaller and grows it to full size as the video begins. 100% turns this off. Range: 40 to 100 %. Default: 100%.
- Corner Radius: Rounds the frame (eases to square as it grows to full size when Grow From is on). Range: 0 to 80 px. Default: 0px.
- Frame Background: Shown behind the video (letterboxing, or while it loads). Color.
- Darken Video: Darkens the video so the text reads well. Range: 0 to 90 %. Default: 25%.
- Progress Bar: A thin bar along the bottom showing how far the video has played. On or off. Default: on.
- Progress Bar Color: Color. Default: #ffffff.
Support
Something not working as expected, or a question this page does not answer? Get in touch and we will help you get Scroll Video working on your site.

Frequently Asked Questions
Common questions about DP Scroll Video.
Why is my video choppy when scrolling?
Videos with few keyframes scrub poorly. Export with frequent keyframes, for example ffmpeg -g 8.
Can I play only part of the video?
Yes. Set Start At and End At in seconds.
Does it still pin inside a section that hides overflow?
Yes. If a parent element clips its overflow, the module pins itself instead.
Does it work with Divi 5 and Divi 4?
Yes. The module has the same settings and styles in both builders.
Can I use it more than once on a page?
Yes. Each copy of the module has its own settings.









