javascript - H5 audio tag How to achieve continuous playback of music across pages (without restarting)
为情所困
为情所困 2017-05-16 13:29:47
0
2
1499

Mobile terminal development How to achieve continuous playback of music across pages (without restarting); the currentTime attribute is not easy to use. . . . . .

为情所困
为情所困

reply all (2)
伊谢尔伦

I haven’t explored whether it can cross pages, but our page can be simulated with p, so that the music can always play

    Ty80

    Two methods

     



    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 ...

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!