fixed the autoPlay error and thus added autoPlay = 1 by default