Hey guys, I have a Wordpress driven guitar blog site. I'd like a music track to play continuously throughout the website when people click onto different pages. How would I do this? Is there javascript involved? Thanks!
I think the bigger question is, why on earth would you want to? That's one of the biggest assaults on usability and user experience I can think of. NOTHING is more annoying than going to a website to suddenly find music blaring out of your speakers/headphones (even if it's music you like).
Well, you can use for example Youtube that can auto-play videos after loading the page. But I agree with Andy. Your users probably won't like it.
If the timing's right... I like a little music. I don't know of anything that does this that's already available (haven't looked though) But it sounds like it would take a memory placeholder that recorded it's play location as it's switching page loads, which if using javascript would take a trigger that fires every half second or so recording the music location in a session variable, and when the new page loads it checks to see if a session variable contains marker information and if it does then start the music there else start tracks at beginning. It would be better to have it seemless (no break between page loads), but I don't know how to do this. I'm not sure it's possible without asking users to grant some sort of permission to use a non-browser based player.
Personally I would use a HTML5 music player in a small popup box...but let the users click to open it, please! Jay
Thanks guys...found great example of what I'd like to do on my wordpress site. http://www.alanrichardsmusic.com any idea how he did it? thanks!
looks like he loads the page in a iframe so he can have a continuous browser instance playing the music and the user can navigate to new pages in the iframe. : )
Iframes aren't too terribly hard. It's usually getting the right height that becomes the hardest thing to achieve. Here's a link to documentation on hot the html iframe tag works http://manda.com/iframe/
Had same problems months ago http://forums.digitalpoint.com/showthread.php?t=2349620 ...with no luck, theres no 100% working solution