fixed devise login, re-added autoplay

js doesn’t work for me.