You can rotate a video on your iPhone or iPad using the crop tool in the Photos app.
You can edit videos on your iPhone or iPad using the default Photos app or a more advanced app like iMovie.