Uninterrupted background music on website

后端 未结 7 1915
自闭症患者
自闭症患者 2020-12-03 22:44

I was making a website for a music band, and i was wondering the best way to play background music on the website without interrupting the flow of the music (even for a spli

7条回答
  •  北荒
    北荒 (楼主)
    2020-12-03 23:19

    I can think of four ways:

    • Frames, as you said.
    • Make your entire website in Flash and have only one page. You need to know Flash to be able to do this, which could make this difficult.
    • Pop-out your music player. This is probably the easiest approach, but the downside is this could be annoying, and a lot of web browsers these days would block it.
    • Use AJAX and dynamically load all your site content within one page, like Gmail. Users will need to have newer browsers, and this will take quite a bit of coding on both the client and the server side.

提交回复
热议问题