make video size and playing video size independent