Prevent autoplay if autoplay is not enabled