A. Edit your videos into shorter segments that fit within the duration limit. You can combine these segments later using a different video editing app that allows longer durations.
B. Look for a workaround by creating multiple shorter videos instead of one long video, and then compile them into a single video using another app.