Yes , You got it , Thats what i want to do , but with the video.
I got that working , actually I animated the cameraitems before adding the video to test whether scalein and scaleout works smoothly , it worked , but when i add videos to it , it started being buggy , The codepen you have shown is the animation effect i am trying to reproduce , but with video in it , I need the whole div to be zoomed in and zoomed out