For a more general guide, check out how to create a good video.

Open the Pages app on your iPhone. Tap the plus button to create a new document. Select Start Writing to create a blank document.

Tap the X button to close the media menu. Tap the play button to play the video on loop.

Open the iMovie app on your iPhone. Tap Movie in the Start New Project menu. Tap the video you want to loop. Tap Create Movie.

Repeat this process of adding a video until you have the amount of loops you want.

Tap the transition button between the video clips. Tap None. Tap anywhere in the video timeline to close the transition menu.

Tap Done in the top left of the movie editor menu. Tap the share button on the bottom of the screen. Tap Save Video. Wait for the movie to export. The longer the loop, the more time this will take. You’re done! The looping video will now be in your Photo Library.