fix autoplay not hidding the play button