Resize a video in real time in canvas