video quality with ajax