auto resize the player to fit into browser size