Css to player object