Fixing autoplay issues