Search code examples
ajaxwordpresspartial-page-refresh

Prevent Audio Player from refreshing while page change


I'm creating a website in wordpress. I have a music player in it as its for a music artist. But I want the player to continue playing while the users move through the website. I dont want to use iframe as i want the url updated so the page can be bookmarked. Or is there any way to update the url and use iframe?


Solution

  • Somebody on the Wordpress forum asked the same question.

    The best way (technically) to do this is indeed to use a CMS that supports surfing the site without page-refreshes, so using AJAX, as @jonny suggested.

    jango.com seems to do this as does another site I can't remember.

    If you load every page via AJAX, there's probably gonna be a drawback if you care about search-ranking .