Hello everyone,
Here's my problem: I'd like to play music continuously on my website, without it cutting out and restarting every time you change pages. How can I do this?
Thanks in advance.
Streaming music
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: Streaming music
There is no standard solution for this in HTML. The browser will reload the entire page (including the audio) when you change the page.
The only way to prevent this is if you load the page content via AJAX. This will require custom coding and may become complicated if you use lots of scripts because these need to be reinitialize each time.
The only way to prevent this is if you load the page content via AJAX. This will require custom coding and may become complicated if you use lots of scripts because these need to be reinitialize each time.
Re: Streaming music
Hi kether, maybe you can use the technique with a "carousel" in full page and connect the slides as pages to the menu. I did it with an old site but with a video background that looped continousely.
Check: https://www.chevere.ec/templates/sainam/
Am away out from now but if interesting I know Pablo have a template or tutorial for this.
Check: https://www.chevere.ec/templates/sainam/
Am away out from now but if interesting I know Pablo have a template or tutorial for this.
Re: Streaming music
Hello,
Thank you for your replies. This is too complicated for me, so I'll just leave it as is. I thought there was some kind of script I could put in my pages to solve this problem...
Thanks again.
Thank you for your replies. This is too complicated for me, so I'll just leave it as is. I thought there was some kind of script I could put in my pages to solve this problem...
Thanks again.
Re: Streaming music
Unfortunately, it is not that simple. Even if you have a generic ajax scripts then you still need to take all other scripts on the page into account.
- BaconFries
-
- Posts: 5978
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Streaming music
As already mentioned it could possibly be done using Ajax (custom coding) Another thing you would need to take into account is that the many modern browsers disable audio playback this is because due to audio being played without any user interaction (stop/pause) is annoying so you would need a way to control this for there benefit.
Re: Streaming music
I have no idea what sort of website this is, but if I arrived on a website and music started playing with no way for me to mute it, I'd leave the website immediately. If you want to take control of my audio whilst I'm visiting, what else do you want to try to control?
Please consider making the background music an option (opt in, not opt out).
Please consider making the background music an option (opt in, not opt out).
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA).
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA).
Re: Streaming music
Hello everyone and thank you for your respective contributions... I have already given up on the idea of putting music on.
- KingSparta
-
- Posts: 311
- Joined: Tue Dec 08, 2020 6:00 pm
- Location: Earth
Re: Streaming music
Retired military, Airborne, Air Assault, and Helicopter Flight Wings.
Enjoys model trains, the internet, and ham radio. Located in Fayetteville, NC, USA.
https://MyAAGrapevines.com
Enjoys model trains, the internet, and ham radio. Located in Fayetteville, NC, USA.
https://MyAAGrapevines.com