Fixed autoplay detection