简体   繁体   中英

Stick SoundCloud player

有没有一种创建粘性音乐播放器的方法,例如soundcloud,这样当您从站点上的一页浏览到另一页时,音乐可以继续播放而不会被回发打断吗?

为此,您需要单页应用程序,您无法在重新加载整个页面时阻止播放器中断。

As I'm looking for the exact same solution, I can tell you: It's not possible without making your whole website using AJAX technology. So you have to modify your whole page in a way, that the basic HTML construction is always open, and all internal links opens within the AJAX controlled containers.

There is no and probably will be no other way.

One service that does that is bandzoogle.com as you can see in one of their pages here: camilameza.com

When you inspect their code, you can see, that all interaction within the site is within one single container which switches the content.

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM