What in5 specializes in creating is HTML5 from an InDesign layout. While it's not expressly designed to output video, we do have a free extension for Google Chrome that will help you get there.
First, create a page in InDesign with animation:
Export your animated content with in5 and use the in5 Animated GIF Maker extension for Chrome to turn your output into an animated GIF:
The newest version of the in5 Animated GIF Maker lets you choose mp4 as a format. See it in action in the video below.