Added code for gif/video background

Added code for gif/video background