resolve autplay issue