建议:保持网站音频播放,同时显然改变页面 [英] Advice: keeping website audio playing while apparently changing page

查看:64
本文介绍了建议:保持网站音频播放,同时显然改变页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我注意到,对于包括SoundCloud在内的某些网站,您可以播放音乐并浏览网站,并更改网址。我知道您可以使用iframe动态加载内容,但这并不能解释URL的变化。这怎么可能?



感谢您的任何建议



我的尝试:



------------------------------- -------------------------------------------------- -----

解决方案

你可以使用ajax,jquery加载某个div或者你可以使用前端框架如Vue,angular,react

Hi,

I've noticed that with certain sites including SoundCloud, you can have the music playing and navigate around the site, with the URL changing. I know you can use iframes to load content dynamically, but that doesn't explain the URL changing. How is this possible?

Thanks for any advice

What I have tried:

--------------------------------------------------------------------------------------

解决方案

Well you can use ajax, jquery just to load a certain div or you can use front-end framework such as Vue, angular, react.


这篇关于建议:保持网站音频播放,同时显然改变页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆