background music
Posted: Mon Jan 03, 2022 9:17 pm
is it possible to insert a background music at the entrance to the site and which would continue even if we change the page?
Multi part answer. No not by just inserting any of the audio objects or extensions available. Once you leave the page the music stops. One or two ways is to have the player to continue is insert in a iframe or by scripting using ajax. Note if the audio is set to auto play then the browser will disable it so you will need to use a play/pause/stop button to give the user full control to listen or not.is it possible to insert a background music at the entrance to the site and which would continue even if we change the page?
In the majority of cases autoplay will be blocked by browsers, or the users browser settings.SergeFog wrote: Mon Jan 03, 2022 9:17 pm is it possible to insert a background music at the entrance to the site and which would continue even if we change the page?