Throttle instead of debounce
Throttle instead of debounce

Debounce won't guarantee that the last event will fire the sizeVideo function but throttle does. Not executing the sizeVideo function on the last event can leave the video background wrongly positioned and sized.
bond-agency/covervid