Added css animation support for video overlay.