That technology used in Soundcloud? [closed]
-
21-12-2019 - |
Frage
What technology used in Soundcloud that prevents stopping music when you press back button in browser?
I can't find anything about it. Sorry for my english.
Lösung
They use the History Api, which allows you to manipulate the Browsers history, without forcing a full page-reload.
Andere Tipps
It's pretty cool indeed. I think they load every page with ajax, and then handle the browser history themselves, through javascript. That way you can leave the audio player in the page and load all the rest, achieving the non-stop-music effect
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow