0

Websites like soundcloud and hypem allow you to traverse along their site. The URL in the address bar changes when you click around however the music never stops playing how is that possible? AJAX doesn't change the URLs. It's like I start playing the flash on the page and it runs in the header at the same time.

I have a music blog that has embeds from youtube and soundcloud is it possible to do this on my site? If so, what should I research/learn?

Clifford
  • 88,407
  • 13
  • 85
  • 165
APJ
  • 245
  • 1
  • 3
  • 14

1 Answers1

1

They catch the changing url in JavaScript and modify the page content dynamically without actually reloading the page. It's the same "physical" page all along. A popular library function that handles this is Angular's routing capabilities.

thnee
  • 5,817
  • 3
  • 27
  • 23