Question

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.

Was it helpful?

Solution

They use the History Api, which allows you to manipulate the Browsers history, without forcing a full page-reload.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top