How to insert background music into a webpage without interruption when you jump to the page! For example, I am a hard nut to crack. most people on the Internet use frame, but the actual situation is that frame frames cannot be used now! Is there any other method?
Reply to discussion (solution)
Why is frame not supported by browsers?
All the pages are redirected. can there be anything on the page?
Well! No, I just want to ask if there are any methods without frame frames! If not, you can only use it.
Can I use ajax without redirecting to a page?
The effect may be better.
Flash, ajax (no jump, only request)
Html5 can achieve the requirement of lz on html5 browsers without refreshing the entire page when the url is redirected.
Just like when Sina Weibo plays a pop-up video, turning pages does not affect video playback.
Lz can search for history. pushState and history. replaceState.
Without frame, you have to refresh the entire interface. it seems that there is no solution. We recommend that you consider a compromise.
I can't do it only with the frame framework now, but there is a small problem, that is, playing music after entering the page, clicking other pages will not start playing again, but if I go back to the home page, in this case, another song is started and mixed with the previously played song. please know how to solve this problem!
Er... I am so stupid!
Solved ????
Ask how to solve