Streaming music

All WYSIWYG Web Builder support issues that are not covered in the forums below.
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
Post Reply
kether
 
 
Posts: 41
Joined: Sun Oct 22, 2017 11:34 am

Streaming music

Post by kether »

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.
User avatar
Pablo
 
Posts: 23598
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Streaming music

Post by Pablo »

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.
User avatar
Bluesman
 
 
Posts: 1205
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Streaming music

Post by Bluesman »

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.
"Make My Day"

See my Website
kether
 
 
Posts: 41
Joined: Sun Oct 22, 2017 11:34 am

Re: Streaming music

Post by kether »

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.
User avatar
Pablo
 
Posts: 23598
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Streaming music

Post by Pablo »

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.
User avatar
BaconFries
 
 
Posts: 5978
Joined: Thu Aug 16, 2007 7:32 pm

Re: Streaming music

Post by BaconFries »

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.
User avatar
AliGW
 
 
Posts: 237
Joined: Thu Dec 19, 2024 3:41 pm

Re: Streaming music

Post by AliGW »

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).
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).
kether
 
 
Posts: 41
Joined: Sun Oct 22, 2017 11:34 am

Re: Streaming music

Post by kether »

Hello everyone and thank you for your respective contributions... I have already given up on the idea of ​​putting music on.
User avatar
KingSparta
 
 
Posts: 311
Joined: Tue Dec 08, 2020 6:00 pm
Location: Earth

Re: Streaming music

Post by KingSparta »

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
Post Reply