Creating an animated pdf in indesign is very simple.
There is great video tutorial here by Creative Frontiers.
Getting it to be available in a website is a bit trickier.
My workaround:
Create the animation in Indesign
Video the screen via Quicktime Player to create a MOV file
Open the MOV file in Premiere Pro
Save via Media Encoder
This is a great video on how to do this.
Once that’s done you can upload the video to web.
You can add to the Video Module or the back of a row or section (this seems to give more options) see… HERE