2π
What Iβm attempting to do is, when the tracks have been loaded once, have the media player remain unaffected by internal site navigation. In other words, the media player keeps playing but the user can browse the site without interrupting playback/ re-loading the tracks.
This is not something specific to Django-templates, but rather to how your HTML page is structured. The media player is not replaced within Django, but replaced in the browser by reloading the page.
Things you can do:
- Have everything running via Ajax.
- Have every other page running in an
<iframe>
- Have every other page running in a
<frameset>
tag.
Eiter way, the URL in your address bar wonβt change anymore while the user is navigating through the site. Requiring Ajax will also affect how good Google can index your site.
A good HTML book will get you started on setting up the frameset / iframe based page.