YouTube A-B repeat

Loop your favourite section of a YouTube video. Made for language shadowing, learning music by ear and dance practice.

Enter a URL and the video will appear here

How to use it

  1. Open the video on YouTube and copy the URL from the address bar (or the Share button).
  2. Paste it above and press "Load".
  3. Play the video, press "Set A" where the section starts and "Set B" where it ends.
  4. Looping starts as soon as you set B. Use "−0.1" and "+0.1" to fine-tune the points.

Features

Questions

It says the video cannot be embedded

Some owners do not allow their videos to play outside YouTube. In that case use thebookmarklet, which runs on the YouTube page itself.

The loading spinner or the play button appears every time it loops

Seamless looping is always on: a second player is prepared behind the first one and the two are swapped at point B, so playback does not stop (about 20 ms in our measurements instead of 300 ms). It only works when point A is at least 6 seconds into the video and the section is at least 6 seconds long, because YouTube needs about 5 seconds to hide its own controls. The page tells you when a section is too short.

Does it work on a phone?

Yes. You can set the section on iPhone and Android exactly as on a computer.

The keyboard shortcuts do nothing

If you click on the video, key presses go to the YouTube player. Click outside the video first.

Where are the saved sections stored?

Only in your browser (localStorage). Nothing is sent to our server. Clearing your browsing data deletes them, so use the export button on the my list page to keep a copy.