-
1. Re: continous music loop across all pages
MurraySummers Nov 25, 2010 7:15 AM (in response to INTYME1985)I want to load the theme song once and have it play continously across all pages
Sounds extremely annoying.
The only way I know of to do this would be to use a framed site. And there are so many reasons for not doing this that it's not even worth considering.
-
2. Re: continous music loop across all pages
INTYME1985 Nov 25, 2010 7:33 AM (in response to MurraySummers)I am fully aware of the reasons NOT to, but this is what my customer wants.
I haven't done frames since Frontpage and recall problems controlling content placement, any other suggestions?
Thanks again
-
3. Re: continous music loop across all pages
MurraySummers Nov 25, 2010 7:42 AM (in response to INTYME1985)recall problems controlling content placement
There are no problems regarding content placement in frames. After all, it's just an HTML page like every other HTML page. If you were having problems I imagine it was due either to FrontPage's many usages of proprietary and non-best practice methods, or to operator error.
any other suggestions?
If I had any I would have given them.
-
4. Re: continous music loop across all pages
pziecina Nov 25, 2010 7:47 AM (in response to INTYME1985)Hi
You could use ajax to display the content, this would leave the music playing, (very annoying anyway). But this would leave you with the problems of bookmarking and the back button.
PZ
-
5. Re: continous music loop across all pages
INTYME1985 Nov 25, 2010 8:42 AM (in response to pziecina)Thank you again Murray, and Pziecina for the other suggestion. It doesn't sound like I have a host/root workaround, if I have called that correctly. Also, I believe "no bookmarking" will bite me with the Facebook like button.
If there is no other solution, maybe I can rotate his television commercials on the index page to satisfy him?
Thanks again
-
6. Re: continous music loop across all pages
pziecina Nov 25, 2010 9:18 AM (in response to INTYME1985)Hi
There is one other way, but it will involve a fair amount of JavaScript, (and possibly actionscript depending on the 'player').
Once a link is clicked you would have to 'intercept' the default click action, get the playhead position, (the amount played, possibly as a time) save this value into a cookie, then reload and start playback at that point in the next page.
There is a problem with this though in that it will quite possibly start slightly out of sync, and it will not play whilst the new page is loading.
PZ
-
7. Re: continous music loop across all pages
INTYME1985 Nov 25, 2010 11:04 AM (in response to pziecina)Sync'ng is not an issue, and I've trimmed the loop to a 2.36mb mp3. I'll research the cookie/reload workaround, do you know anyone that will write it for pay?
I've used bgsound, premiumbeat and others with success, but want to better control delivery of audio content.
thanks again
JM
-
8. Re: continous music loop across all pages
pziecina Nov 25, 2010 12:05 PM (in response to INTYME1985)Hi
I do not know anyone who has done this for a music/audio file, but if you use flash as your encoder/player then the code for the basic functions in actionscript would probably be a variation of the following -
var turnOnTime=getTimer();
///function(play).... then what ever code you need to play the music....
var turnOffTime=getTimer();
///function(stopSetCookie)... set the cookie value
var elapsedTime=turnOffTime=turnOnTime;It would require that javascript was used for preventing the default click action, (jQuery is probably the easiest for this) then passing control to the actionscript to perform the above as required. Once the actionscript is completed as required, control would be sent back to the javascript and the new page would be loaded, where the process would be reversed.
You may be better asking in the flash forum for more info, but as I have done this for large video files, (in flv format) it should also be possible for music/audio files.
PZ
-
9. Re: continous music loop across all pages
musicartistdesigner Nov 25, 2010 6:56 PM (in response to INTYME1985)OP..I'm a designer for a lot of music bands and music artist and all but a few of them want their music to roll from page to page without reloading.
I use frames (footer) and place a media player in the footer that can't be seen. Frames do work and still work well for this situation.
Frames do bookmark but will bookmark the index page if the index and footer frames have been saved as index and footer will show.If you have a well linked nav menu then bookmarking is no big deal.
The music artist sites are also not built in CSS or Strict HTML. We use tables and have NO problems with them working and looking the same in all the browsers.No they do not validate but there is more to life than validation and coding and we all code so no pun intended to you code heads.
Their sites take 1000's of hits on a daily basis and we have never received a complaint that something is not working on the sites.
I would say go for it with frames and unless you receive negative feedback from the onwer of the site them let her fly.
Customer Service is what pays our bills and keep right on paying us for the work we do on their frame sites that work.
Good Luck! -
10. Re: continous music loop across all pages
INTYME1985 Nov 25, 2010 6:59 PM (in response to musicartistdesigner) -
11. Re: continous music loop across all pages
INTYME1985 Nov 28, 2010 8:01 AM (in response to musicartistdesigner)Very cool, thank you for the solution.... can you recommend a player?
Thanks again
-
12. Re: continous music loop across all pages
Nancy O. Nov 28, 2010 3:29 PM (in response to INTYME1985)Use a pop-up window instead of FRAMES.
Put your media player on a plain, vanilla HTML page. Link your home page to the player page with DW Behaviors (open browser window).
When the pop-up link on the home page is invoked, the audio/video will play continuously until a) users leave the domain or b) they close the pop-up window.
See working demo:
http://alt-web.com/testing.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
13. Re: continous music loop across all pages
INTYME1985 Nov 29, 2010 7:57 AM (in response to Nancy O.)Thanks for the tip Nancy.. Today was my deadline, so I simply loaded an MP3 player on the index page... I'll see how it goes




