How to make my music don't refresh if i go to another page?
I developing this page using php, and for the music i'm using flash.
this is the project
thx in advanced![]()
How to make my music don't refresh if i go to another page?
I developing this page using php, and for the music i'm using flash.
this is the project
thx in advanced![]()
Hi davelf. I have seen a couple of threads with this issue before, but haven't seen a really good solution yet. Only way I can think of getting the music playing continuously when changing pages, is to have the new pages in a frame. Well, maybe you could load the new content with ajax or scroll animate it in a div. As far as i know you can't change the url. Making the whole site in flash could also do it.
It would be interesting if someone had a smarter solution though.
watch.
basically, the entire site is on a single page, and content is shown/hidden via jQuery. If there's too much content for a single page, you can use ajax in a similar fashion: reload the main content area rather than actually going to the new page. Since you don't actually go anywhere, the music doesn't stop.
davelf (07-01-2010)
yup, i agree with that. I don't see any solution or source code to fix this problem too.
About your solution:
1. use iframe, i don't really like to use frame, it's just not compatible and fit with my design, i don't think this is for me.
2. make the whole page into flash, ya that could work out but, that's why i put this thread in HTML, cause i ask for HTML solution, not flash.
3. Ajax, this is what i thinking about.
Thx anyway
It IS complex. You are using everything backwards-- trying to not refresh one small part while refreshing everything else.
One very simple option that may be best if the other ways are too complex or don't work is to just use a popup. Have a "pop out" button on your music player, that creates a new window, then they can browse any page while keeping the popup available for the player.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
yes, it's quite complex. I understand the concept, but the execution is beyond me at present. And there is quite a bit of code in that demo that's unrelated to the continuously playing music.
last time i develop a page where, user don't need to refresh, i use the dynamicdrive script, and it work the music don't need to refresh / start over and over again.
here is my work
But after i finish develop that page, i got some problem:
1. It take to long waiting time to load all of the content.
2. I can't redirect or send a URL to my client to a single page (ex. portfolio, about, myservices, etc), because everything is in a single page.
So i don't think to make a page like that again, and Traq give a wonderful example, from what i see in the video, they fix all of my problem. But once again it's really complex.
And about your solution here, pop up?
What does it mean?
so i make a separate page to put my music code there?
Thx to both of you..![]()
Yes, you would make one page (many pages) with your website, and a separate page with the music player.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Hi, continue the last discussion, after trial and error for a week. I try a new solution.
I'm using iframe to make that music stay on it;s position (not refreshing)
i combine it with php, so this the big picture:
1. i make a music.html, i put my music flash there
2. i call that music.html and put it into a new page called music.php
3. and i call music.php in my index.phpCode:<iframe src="music.html" width="100%" height="40" frameborder="0"></iframe>
How come the music.php don't show anything?
Is there any problem if i use the iframe in php?
Thx very much....![]()
Bookmarks