I don't think it will work when set as a layout background.
It should animate the gif when it's in a region though - I've tested that just now.
I'm happy to test it with your .gif as well, you can send to me over private message (upload it to dropbox/gdrive or similar service of your choice and share the download link with me).
Video in a region should also play fine.
Please be advised that windows client generally does not support overlapping regions / transparency, you would need to test it with your content to make sure it displays it as you want it to.