fixed detect autoplay to expose AUTOPLAY variable