Custom animations in widgets

I have a ‘Main Menu’ widget with a vertical box and some buttons. I also made some particle effect mp4s in Adobe After Effects. Is there a way to put them in the widget? What I want is for them to start and loop over the button on mouseover.