You can make an animated GIF from a video on your screen.

Adjust the GIF's frame over the video:


To start recording tap 
You can capture up to 15 seconds. To stop recording before that, tap 
Once you stop recording, your GIF will automatically play.
To view any time, open the Photos, Files, or other media viewing app, and look for the Screenshots folder.