Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Uninterrupted/continuous music player
I’m looking for a rock-solid solution to have music on a Joomla multi-page site that is never interrupted by changing page.
My current ‘multi-page’ site is cheating by actually being a one-page that hides/shows certain sections. Moving to a CMS (for responsiveness & other features), this is proving difficult. SoundCloud manages to do this perfectly (though they also have a huge budget that I do not have).
What would be the best way to achieve this?
One suggestion so far: “I’ve found an AJAX plugin for Joomla which prevents the player from interruptions during navigation. This means we could use a normal multi-page navigation structure instead of 1-page. However, the site is then vulnerable to script breakage during updates of site components and may take a while to be fixed by the script developer.”
Another suggestion from someone else: “Place the <audio> tag in a part of the page that doesn’t change when you load a different section. You can keep the audio controls in a part that gets hidden and shown again but if the <audio> tag itself is changed the browser may re-load it causing the audio to stop playing.”
As I’m not a coder, I don’t know the merits of this.
Any help would be greatly appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×