I have a project that I may take on, and Drupal would most likely be the platform I choose. However, there is one significant obstacle: A requirement is streaming audio that continues from page to page. Now, I know how to do this with frames, but that would require that I put the Drupal site in an Iframe, and I refuse to break users' back buttons. So, I'm posting here looking for one of two things:

1. Heads up on a technology that enables page-to-page continuous playback not using a standard frame method
2. Good arguments to eliminate this requirement

If there are existing modules that would help, I'll be using either 5.x or 6.x depending on module development progress for CCK, Views, etc. when beginning this project. Thanks!

Comments

virtualgirl’s picture

I am also interested, I used a player from reverbnation,,, a widget and installed it as a block and put the embedcode in here but of course it keeps turning off with each page flip... Any assistance welcome.

tmallen’s picture

As a web developer, here's how one *could* do this (it's an old-school AJAX technique). Invisible frame has an audio player and the site itself navigates normally in the main frame. Of course, you lose address bar feedback, but it wouldn't break history. Probably an SEO disaster, but it would work. Barring this, all I can think of is using a server-push approach (Comet-style) or, of course, opening a small popup with audio controls.

dman’s picture

In the whole history of the web, that has only ever been achieved by frames, all-flash blobs, or pop-unders. Possibly plugins.
In one early version of HTML, there was a (proposed?) body backgroundaudio="" tag or something IIRC!

Fullscreen frames (not iframes neccessarily) are OK. They don't break history, but may damage bookmarkability unless you add a workaround. Possible.
I don't know if there's any other answer. In Drupal or any other framework you choose.

Ooo. here's the old bgsound tag :-}

Technique 3 on this page Using a background meta sounds different. Probably highly odd results on some systems tho.

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |

2ndChanceTech’s picture

Standard method used on most sites is a simple popup (not modal). In effect a new browser window with no url bar, etc.

This allows site navigation to continue as per normal. If you target it properly then when a song is clicked on the main site it will load in the current popup instead of loading another window. Music listeners expect this functionality. Check soundclick.com

jackread’s picture

http://www.boutell.com/xspf/

it's not completely seamless but I've been testing it out and it's pretty good.
teamed up with the xspf-playlist module it COULD be great.

raulmuroc’s picture

Where to get the module:

http://drupal.org/project/popup

-------------------------------------

The instructions to work it out:

http://drupal.org/node/842058

--------------------------------------

Hope it helps.

Drupal Association individual member

damiandab’s picture

Thanks for the link.

I tested the popup module , but its only displaying popup on click or hover , after changing the page the popup dissapears, so the music will not continue playing if I put audio player into the popup block.

I also very interested to find a solution to play the music on the website continuously without breaks after switching the page.

The one solution I'm using now is only frontpage content together with accordion views to save the space on the website. For player I used soundmanager2 module with the integrated jquery player , so it works under iphone , ipad, for videos > popup(lightbox) and streamed from youtube (here again ios compatibility). For sending a forms > popup + ajax module to ajaxify webforms(cd order form). For gallery > views in ajax mode displayed with lightbox2 and exposed filter with auto submit function (views hacks module).
If someone would need more content and menu items > the best solution are quicktabs.

After using the above methods you wil get full ajax page and great solution to continuously play music with full ipad contability :)

Here my band page:

http://leyanmusic.com

Best,
Damian

johndp’s picture

I recently needed a solution for a photographer's website (they love continuous music / flash sites). I found this pretty sweet solution:

http://scmplayer.net/

see it in action here: www.jolieconnorphotography.com

Hope this helps someone.

jamix’s picture

Not a simple task, but it can be done. Check out my sandbox project for Drupal 7: Ajax pages.