Skip to content
HTML/CSS to ImageDocs

Skip preloading lazy content before a scrolling recording

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.

true or false.

Defaults to false. Scrolling recordings preload lazy content.

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.
{
"url": "https://example.com/",
"duration_ms": 12000,
"actions": [{ "type": "simple_scroll" }],
"skip_scroll_preload": true
}

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.