I need to validate video resolution, if it\'s above 1280x720, I need to block it before user uploads it. How to do this on browser or javascript?