Preparing your video for scrub on scroll
A video used with scrub on scroll must be an MP4 file with H.264 encoding, 60 seconds or less, 50 MB or less, and 1920 × 1080 pixels or less in total (width × height), and it must have no audio track. If your video doesn't meet these requirements, re-encode it with HandBrake, or export it again without audio from your video app, using the steps below.
Video requirements
A video works with scrub on scroll only when it meets all of these requirements:
- Format: MP4 file with H.264 encoding.
- Length: 60 seconds or less.
- File size: 50 MB or less.
- Resolution: 1920 × 1080 pixels or less in total (width × height). A portrait video of 1080 × 1920 also meets this limit.
- Audio: no audio track. A muted or silent audio track still counts as an audio track, so remove the track itself.
If a video goes over the length, file size or resolution limit, scrub on scroll is switched off for that video, and the editor preview shows an "Encoding failed" message. The message names only one limit, even when the video goes over more than one, so check the video against all three limits before you upload it again.
A video with an audio track can scrub for a moment while the page loads and then freeze on one frame, with no error message. You can't tell from the file whether this will happen, so always export or re-encode the video without audio. Scrubbed videos don't play sound, so removing the audio track loses nothing.
Use a resolution of 1280 × 720 (or 720 × 1280 for portrait video) where possible. A larger video doesn't look sharper when scrubbed, but it is more likely to go over the 50 MB limit. Visitors also have to wait for the whole video to download before scrubbing starts, so a smaller file means a shorter wait.
Re-encoding a video with HandBrake
To re-encode a video so it meets the scrub on scroll requirements (MP4 with H.264 encoding, 60 seconds or less, 50 MB or less, 1920 × 1080 pixels or less in total, and no audio track), use HandBrake, a free video converter.
- Open your video in HandBrake.
- Choose a 720p preset as a starting point, for example
Fast 720p30.

- On the
Summarytab, tickWeb Optimized.

- On the
Videotab, setVideo EncodertoH.264 (x264). - On the
Videotab, enterkeyint=10in theAdditional Optionsfield.

- On the
Audiotab, remove every audio track. Scrubbed videos don't play sound anyway. - Click
Start Encode(Starton Mac). - Check that the new file is 60 seconds or less and 50 MB or less, then upload it to Maglr and select it in the
Videofield of the video element's settings.
The keyint setting controls how often the video contains a keyframe (a complete image). Current versions of Chrome, Edge, Firefox and Safari scrub smoothly without it. Older browsers play the video as a normal video and need frequent keyframes to scrub smoothly. A lower value gives smoother scrubbing in those browsers but a bigger file.
Exporting a video without audio from Adobe apps
To export a video for scrub on scroll from Adobe After Effects, Adobe Media Encoder or Adobe Premiere Pro, turn off audio in the export settings, so the file has no audio track.
Where you turn off audio depends on the app:
- Adobe Media Encoder: in
Export Settings, untickExport Audio. - Adobe Premiere Pro: in the export settings, switch off the
Audiosection. In the olderExport Settingsdialog, untickExport Audioinstead. - Adobe After Effects: in the Render Queue, open the
Output Modulesettings and setAudio OutputtoOff. If you export through Adobe Media Encoder instead, untickExport Audiothere.
After you turn off audio:
- Export the video as an MP4 file with H.264 encoding.
- Upload the new file to Maglr and select it in the
Videofield of the video element's settings.
If you already exported the video with audio, you can also remove the audio by re-encoding the video with HandBrake, using the steps in Re-encoding a video with HandBrake.
Frequently asked questions
Why does my video scrub for a moment and then freeze?
The video most likely has an audio track. Export the video again without audio, or re-encode it without audio, for example with HandBrake. Then upload it to Maglr again and select it in the Video field of the video element's settings.
Why does my video show "Encoding failed" in the preview?
The video is longer than 60 seconds, larger than 50 MB, or has more than 1920 × 1080 pixels in total (width × height). Until the video meets all three limits, scrub on scroll is switched off for it. The message names only one limit, even when the video goes over more than one, so check all three. Shorten, compress or resize the video, for example with HandBrake, then upload it to Maglr and select it in the Video field of the video element's settings.
Why doesn't my phone video scrub smoothly?
Phones often record video in H.265 (HEVC), and scrub on scroll needs an MP4 file with H.264 encoding. Re-encode the video to H.264 and remove its audio track, for example with HandBrake, then upload it to Maglr and select it in the Video field of the video element's settings.
Can I use a YouTube or Vimeo video with scrub on scroll?
No. YouTube and Vimeo videos can't be used with scrub on scroll. Use an MP4 file with H.264 encoding instead.
Updated on: 29/10/2026