fix player autoplay bug.