can now resize video player dynamically