Mobile terminal development How to achieve continuous playback of music across pages (without restarting); the currentTime attribute is not easy to use. . . . . .
伊谢尔伦2017-05-16 13:31:47
I haven’t explored whether it can cross pages, but our page can be simulated with p, so that the music can always play
PHP中文网2017-05-16 13:31:47
Two methods
<html>
<frameset cols="50%,50%">
<frame src="/log/music.html">
<frame src="/log/index.html">
</frameset>
</html>
Hide the first page, play music, jump to the second page, or use history.pushState to load data across pages
Reference http://stackoverflow.com/ques ...