Friday 15 March 2013

PHP/JavaScript Cross pages music player -



PHP/JavaScript Cross pages music player -

i had thought before , thought won't executed without iframe or ajax calls.

i couldn't maintain mp3 file or radio channel working after changing url in website, example,

website.com/profile

to

website.com/news

the whole page alter of course, , mp3 or radio have load again.

but, realized soundcloud has feature - after playing music, when exploring site, music keeps working, , when comeback music page, never left page.

also, facebook uses in chat on right. when alter pages, of time, chat won't wound change, meaning chat keeps working if you're on same page , never changed it.

i hope guys help me , tell me technology they're using in this?

iframe , ajax phone call way it. ajax phone call favorite:

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

javascript php cookies player

No comments:

Post a Comment