- Docs
- Parameters
- skip_scroll_preload
skip_scroll_preload
- Recordings
Skip preloading lazy content before a scrolling recording
How it works
Section titled “How it works”When any of a recording’s actions scroll, including actions inside branches, the page is scrolled down and back up before recording starts. This loads lazy images, videos, and other media, so they’re already showing when your scroll reaches them.
skip_scroll_preload: true skips that step. Your scroll actions still run as normal. Recordings with no scrolling actions don’t preload, so the setting has no effect on them.
Values
Section titled “Values”true or false.
Default behavior
Section titled “Default behavior”Defaults to false. Scrolling recordings preload lazy content.
When to use it
Section titled “When to use it”Leave it off for most pages. Skip the preload when:
- You want viewers to see content load or animate in as it scrolls into view.
- Scrolling the page early triggers something you don’t want, like an infinite feed loading more items or scroll-based animations finishing before recording starts.
Example usage
Section titled “Example usage”Show scroll-in animations
Section titled “Show scroll-in animations”{ "url": "https://example.com/", "duration_ms": 12000, "actions": [{ "type": "simple_scroll" }], "skip_scroll_preload": true}Infinite feed
Section titled “Infinite feed”Scroll a fixed distance without loading extra items first:
{ "url": "https://example.com/feed", "duration_ms": 8000, "duration_mode": "fixed", "actions": [{ "type": "scroll", "steps": [{ "to": { "type": "coordinates", "y": 2000 }, "duration_ms": 6000, "easing": "ease_in_out_cubic" }] }], "skip_scroll_preload": true}Need help?
Talk to a human. Email support@htmlcsstoimage.com and we’ll help you get started.