Using Interpret Footage to set a video asset to loop in After Effects.

If you’re looking for how to loop a precomp instead, then you’ll find the answer here.