Hi!
I'm considering implementing a music player on my site and would like it to continuously play music, i.e. not to stop when a user changes page.
One solution could of course be to load Dolphin in an iframe, and have the music player reside outside that iframe. Alternatively use the old Frame/frameset. (And no, I don't want it in a popup)
But I'm not sure if Dolphin it self would need some serious hacking to accomplish this.
Can anyone think of a good/better solution to accomplish this?
|
This is a good challenge for all you dolphin hackers out there, please have a go at it :) |
This is a good challenge for all you dolphin hackers out there, please have a go at it :)
the best thing here would be a pop out player (sorry, your only option to me).. search the internet, lots of options.
I personally don't think running in an iframe is going to work as far as SEO. You basically "hiding" your site.
ManOfTeal.COM a Proud UNA site, six years running strong! |
Yes but as I said, I don't want to go with the pop-out solution. That would of course be easy to do, but I personally hate those solutions.
The SEO issue, if it really is an issue, is not of a concern for me, I have a closed community anyway.
The only solution i can think of is to run Dolphin in a frame. But I'm not sure if that can be done without having to adjust all internal links manually.
Anyone else want to have a go at this?
|
Have you tried it?
I mean if this will work, you should be able to reverse it.
http://www.duvallocals.info/page/iframe
ManOfTeal.COM a Proud UNA site, six years running strong! |
Yes i tried that solution, but then Dolphin doesn't allow me to log in.
If i could get around that problem this solution would be ok for me.
|
Ah! I was blocking third party cookies so it didn't work either on my test system nor on that link you provided..
Then maybe this will actually work since the third party cookie problem will not exist on my domain.
I will give it a shot.
The only problem i see with this solution though is that the users will no longer be able to link to internal pages and they will see the same url in the address bar all the time.
|
As always, curious minds here..
Please let us know if it works for you.
Are you running a blank index page with the site in a iframe? That's an interesting concept. 
ManOfTeal.COM a Proud UNA site, six years running strong! |
Yes sort of. I have a custom index page on which you land after typing my domain. There I have a custom made login form that logs you in to Dolphin.
Right now I put the whole site in an iframe with the music player sliding in and out from the left.
The problem with that though is that I do have SEO stuff, text and pages I want to be indexed "outside" Dolphin so I'm thinking about moving the login form to a separate page where the iframe business start.
But apart form that it's quite nice, you can easily create music widgets on grooveshark.com.
Best,
Eric
|
After some tweaking I have now found a solution that works even better.
So if anyone is interested:
I used a mod called something like redirect at login. With that mod I can set a custom page on witch the user lands after logging in.
I then created a start.php page including the music player and an iframe with 100% width and height including index.php.
So now I still have all my external pages working fine and the iframe only kicks in after the user logs in.
The only issue I have now is that the users can neither see internal links (only start.php in the adress bar) nor can they send links to internal pages (without losing the music player)
But those issues are not big problems for me at the moment. But this is of course a bit of an ugly hack, It works for me since my community is closed.
Nice to have a music player on the site though that always plays music and is always accessible from within Dolhpin, on all pages.
|
I could be way off here... thhought about developing a music player that exists within the member menu? The member menu is on all pages when the member is logged in. |
No the member menu re-loads every time you change a page, so the music will stop/resume each time.
To my understanding it has to be an iframe/frame or the whole system has to be remade.
|
I just realized that the iframe solution I used above doesn't work in Internet Explorer..
So I guess it's back to the drawing board again..
|