PHP/JavaScript Cross pages music player -


I had an idea earlier and I thought it would not be executed without an iframe or ajax call.

I can not work on an MP3 file or radio channel after changing the URL in the website, for example,

website.com/profile

website.com/news

The entire page will change at all, and the MP3 or radio will need to be reloaded. .

But, I realized that SoundCloud has this feature - after playing a music, while searching for a site, the music continues to work, and when you return to the music page, it seems That you will never leave the page Besides, Facebook is used in chat on this right side when you change the pages, most of the time, the chat will not hurt by the change, which means that chat is working the same way As you are on the same page and you can not change it anytime.

I hope you guys will help me and tell me which technology they are actually using in this technique?

"post-text" itemprop = "text">

Iframe and AJAX are the only way to call.
Ajax call is my favorite:

  $ Ajax ({url: "my url", async: true}) done (function (result) {$ ("# mydiv") .html (results);});  

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -