transition effect video

How can I create a basic fade transition effect between two videos?

Let us say we have playing and after that is done, play right away.

But when video1 is done playing, the last few seconds, the frames fade out and when video2 starts playing, the first few frames fade in.

Welcome @capcutproapk Add a Mix node from the Composite category and set keyframes on the desired start and end frames.