It already exists and works with videos too; simply set the duration to the maximum you want. Anything shorter is automatically set to the video duration.
Slideshow Generator makes it easy to add more than one image or clip to the timeline and automatically:
fill the frame,
make a smooth zoom animation for still images, and
add a transition between each item.
Steps to Follow
Open the Playlist panel
Add your selected images
Drag within Playlist (or use sort in its menu) to the desired order
[image]
Select the images or videos to add to the slideshow: hold Shift to select a range or Control (Command on macOS) to select individually
Click the …