Great plugin! Love it. We're integrating into our new website soon to roll out. I am experiencing a few problems however. For this post, the issue I have is that continuous play works everywhere, but when you navigate backwards (press back button on browser) the music stops and you have to manually restart it. Essentially clicking on links (moving forward) keeps it playing and hitting back stops it. Have you seen this before? Hopeful to resolve it. Love having the music playing in the background.
Hi Mark, Unfortunately we didnt find a way to make this possible. Browser does not allow autoplay. We cant start any audio before any interaction from the user when we land on a site. The back button, as the refresh button, do the user land again on the site.
Thanks for your reply, Alex. I understand the dilemma. I have an idea however... We are all unfortunately familiar with websites that "disable" the back button by either using multiple redirects, or the other method of manipulating the browser history with JavaScript with something like ...
history.pushState({'page': 2}, "Page 2");
window.addEventListener('popstate', (e) => {
history.forward();
});
Couldn't we then use this responsibly, however, and capture the browser's previous page url, and load that page when the user hits the back button, in place of "going back" to reach the page... the browser would move "forward" to the user's intended page.
Is this technically feasible? Seems possible to my noob scripting mind.
Not sure it would solve the problem yet, but the ability to have uninterrupted background music is so awesome that I'm determined to find a solution. 😀
For now, we dont want to take that path. Maybe it is something we will consider if many customers do the same request but for now we dont want to manipulate the browser history. I appreciate your tip. I didnt have thought about this way to do it.
Great plugin! Love it. We're integrating into our new website soon to roll out. I am experiencing a few problems however. For this post, the issue I have is that continuous play works everywhere, but when you navigate backwards (press back button on browser) the music stops and you have to manually restart it. Essentially clicking on links (moving forward) keeps it playing and hitting back stops it. Have you seen this before? Hopeful to resolve it. Love having the music playing in the background.
Thanks!
Mark
Hi,
thanks for reporting this.
I will add this issue on our roadmap and will pass this to our dev team. Will probably have this fixed later this month.
Thanks,
Max from the Sonaar.io Crew
Can't wait! Thanks!!! 😀😀😀😀
Hey Max! Still hopeful that this will be resolved! Anything brewing on this just yet? 😀
Hi Mark,
Unfortunately we didnt find a way to make this possible.
Browser does not allow autoplay. We cant start any audio before any interaction from the user when we land on a site. The back button, as the refresh button, do the user land again on the site.
Thanks,
Alexandre from the Sonaar.io Crew
Thanks for your reply, Alex. I understand the dilemma. I have an idea however... We are all unfortunately familiar with websites that "disable" the back button by either using multiple redirects, or the other method of manipulating the browser history with JavaScript with something like ...
history.pushState({'page': 2}, "Page 2");
window.addEventListener('popstate', (e) => {
history.forward();
});
Couldn't we then use this responsibly, however, and capture the browser's previous page url, and load that page when the user hits the back button, in place of "going back" to reach the page... the browser would move "forward" to the user's intended page.
Is this technically feasible? Seems possible to my noob scripting mind.
Not sure it would solve the problem yet, but the ability to have uninterrupted background music is so awesome that I'm determined to find a solution. 😀
Thanks!
Hi Mark,
For now, we dont want to take that path. Maybe it is something we will consider if many customers do the same request but for now we dont want to manipulate the browser history.
I appreciate your tip. I didnt have thought about this way to do it.
Thanks,
Alexandre from the Sonaar.io Crew
Understood. Thanks for your help on this Alex! Bonne journée!
Mark
You are welcome
Thanks,
Alexandre from the Sonaar.io Crew