change the video size depending on play or pause function
I want to change the video size depending on the play or pause function.
For example, if the video is playing I need its height to be 1000px but when it paused the video height should be 200px. As I am new to Javascript so I couldn't try anything.