Added back video size's handling