solving rotation issue in web player