The sample sits between two glass plates 500 µm apart. The bottom plate stays still, the top one slides back and forth along x: each layer of the sample follows, the more the higher it is. The microscope looks up through the bottom plate at a thin layer in the middle, where tracer beads mixed into the material show its motion. The strain is how far the top plate moves divided by the gap: at 50 % it travels 250 µm each way.
The whole layer in focus is carried back and forth too, by far more than the field of view. Real experiments follow it with the stage or shift each frame back in place (registration); the movie here is filmed in the frame that moves with the focal plane, so what is left is the shear across the depth in focus and anything the material does on its own.