Domanda

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.

È stato utile?

Soluzione

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top