Answer the question
In order to leave comments, you need to log in
How to pick up the interruption of music in the site?
Hello, I'm writing a site ...
When I open another tab, the music starts playing again, how to remove this (make it so that after a reboot it doesn't start at 00:00, is it really?
Answer the question
In order to leave comments, you need to log in
Through the onunload() event - put the current timestamp in the cookie, but there will be a pause anyway.
It’s better to do this through an iframe (when we turn on the music, we put the site in an iframe, and the external container constantly plays music while we navigate through the pages) or through SPA (it’s more difficult for SEO here).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question