Play in website ...... HELP PLEASE

Need help? Post your questions here.

Moderator: moderators

Play in website ...... HELP PLEASE

Postby sharkbait » Tue Mar 03, 2009 4:59 pm

Hi
I have been playing with this for a few days now and really like the software and have got it all set up on my home server, however what I really want to do is to be able to embed the whole player into my website whist pointing to my server.
I would like then to set up accounts for my friends to be able to log in Via my site and play all my cool tracks.
I cannot find any answers that point to this? is it possible?

Hope somone can help me out with a step by step instruction to be able to do this as Im quite savvy on these things, but cant seem to do what I want to do...
sharkbait
 
Posts: 11
Joined: Tue Mar 03, 2009 4:53 pm

Postby donpearson » Tue Mar 03, 2009 6:44 pm

you could just use an iframe, that would do what you want and prob the only way you can really.

heres a link for you to look at http://www.w3schools.com/TAGS/tag_iframe.asp

hope that helps
Facebook Group:
http://www.facebook.com/groups/subsonic.group/

Image
donpearson
 
Posts: 361
Joined: Wed Oct 15, 2008 3:53 pm
Location: UK

Postby sharkbait » Tue Mar 03, 2009 7:38 pm

thanx i will take a look
sharkbait
 
Posts: 11
Joined: Tue Mar 03, 2009 4:53 pm

Can't play from within an 'Iframed-subsonic' on my website

Postby odiousfunk » Tue Mar 09, 2010 6:08 pm

I am wondering if anyone else has had this issue. I have embedded the subsonic app within my website via iframes. Everything looks good (albeit some rearranging needs to take place yet), but when trying to add to the playlist or even just hitting the play button from the NowPlaying frame, nothing happens. No song is played nor added to the playlist. I am assuming it has something to do with the iframe, but really kind of clueless at this point.

My embedded Subsonic can be found here.

If I run the app standalone, all works fine.

One other thing, if I open the standalone within the same browser, and add songs to the playlist, when I log into Subsonic via my embedded piece, the playlist has data and I am able to play it. WTH? I am obviously missing something here.


Thanks for any guidance!

Great app regardless.
Last edited by odiousfunk on Mon Mar 15, 2010 1:31 am, edited 1 time in total.
odiousfunk
 
Posts: 12
Joined: Tue Mar 09, 2010 5:58 pm
Location: ADK Mountains, USA

iframe embedded app will not update playlist

Postby odiousfunk » Thu Mar 11, 2010 8:42 pm

I will bump this only once.

I am still looking for a possible cause for why my iframe embedded subsonic app will not update my playlist frame.

I'll even take a new rabbit hole to go down cause at this point I have hit nothing but dead ends.

Any help would be appreciated.
odiousfunk
 
Posts: 12
Joined: Tue Mar 09, 2010 5:58 pm
Location: ADK Mountains, USA

Postby kingichrist » Sun Apr 04, 2010 1:54 am

I have the iframe set up on my site and run into the same issue.. also it will randomly force the subsonic page into a new window as it the _top command was in the URL forward..

However when it does work inside the frame I too am running into the same issue.
kingichrist
 
Posts: 8
Joined: Wed Mar 03, 2010 11:52 pm

Postby onoitsono » Fri Apr 09, 2010 6:12 pm

I am having the same problem where it will open the page as if a link was clicked. Sometimes I can see the iframe load, but it will ALWAYS force the frame to open in a full screen window. I am using drupal 6.xxx right now, and have tried both plain html and several modules to try and get this to work.

odiousfunk - since drupal is somewhat similar to WP, what is it that you did to get your iframe to work correctly?ish
onoitsono
 
Posts: 1
Joined: Fri Apr 09, 2010 6:08 pm

Postby odiousfunk » Fri Apr 09, 2010 10:59 pm

I have yet to get the playlist to update or play within my site, but as far as getting subsonic to display in the iframe I used the following:

Code: Select all
<iframe src="http://dataqa.homelinux.com:8002/music/index.view" width="100%" height="900px">
<p>Your browser does not support iframes.</p></iframe>


I make the obvious assumption that its the frames within subsonic that get confused about being in the iframe, but have not taken the time to nail it down. I would love it if you come up with something.

Good luck.
odiousfunk
 
Posts: 12
Joined: Tue Mar 09, 2010 5:58 pm
Location: ADK Mountains, USA

Postby ~heels » Wed Jun 23, 2010 12:12 pm

Code: Select all
<iframe src="http://dataqa.homelinux.com:8002/music/index.view" width="100%" height="900px">
<p>Your browser does not support iframes.</p></iframe>


Can someone please tell me where to insert this code? I'm feeling challenged today.

Thanks!
~heels
 
Posts: 19
Joined: Tue Feb 02, 2010 4:40 pm

Postby odiousfunk » Wed Jun 23, 2010 12:41 pm

~heels wrote:
Code: Select all
<iframe src="http://dataqa.homelinux.com:8002/music/index.view" width="100%" height="900px">
<p>Your browser does not support iframes.</p></iframe>


Can someone please tell me where to insert this code? I'm feeling challenged today.

Thanks!


I created a page in Wordpress and added the code within the html of that page. Hope that helps.
odiousfunk
 
Posts: 12
Joined: Tue Mar 09, 2010 5:58 pm
Location: ADK Mountains, USA

Postby ~heels » Wed Jun 23, 2010 12:43 pm

odiousfunk wrote:
~heels wrote:
Code: Select all
<iframe src="http://dataqa.homelinux.com:8002/music/index.view" width="100%" height="900px">
<p>Your browser does not support iframes.</p></iframe>


Can someone please tell me where to insert this code? I'm feeling challenged today.

Thanks!


I created a page in Wordpress and added the code within the html of that page. Hope that helps.


Thanks I will give that a try!
~heels
 
Posts: 19
Joined: Tue Feb 02, 2010 4:40 pm

Postby ~heels » Wed Jun 23, 2010 2:41 pm

So I just created a blank page with an iframe to load subsonic into but it breaks out of the frame and takes over the page. Is there something special I need to do to keep it contained in the frame?

Frame works till I put in: src="http://mwheeler.getmyip.com/subsonic"

The reason I want the iframe is because I'm using a forward mask with my godaddy domain name so you don't see my ugly dyndsn address.

Thanks,
~heels
 
Posts: 19
Joined: Tue Feb 02, 2010 4:40 pm

Postby ~heels » Wed Jun 23, 2010 3:31 pm

~heels wrote:So I just created a blank page with an iframe to load subsonic into but it breaks out of the frame and takes over the page. Is there something special I need to do to keep it contained in the frame?

Frame works till I put in: src="http://mwheeler.getmyip.com/subsonic"

The reason I want the iframe is because I'm using a forward mask with my godaddy domain name so you don't see my ugly dyndsn address.

Thanks,


Strange if I'm already logged into subsonic I can get it to stay in the frame with src="http://mwheeler.getmyip.com/subsonic/index.view" but src="http://mwheeler.getmyip.com/subsonic/login.view" kills the iframe.
~heels
 
Posts: 19
Joined: Tue Feb 02, 2010 4:40 pm

Postby odiousfunk » Thu Jun 24, 2010 4:16 pm

~heels wrote:Strange if I'm already logged into subsonic I can get it to stay in the frame with src="http://mwheeler.getmyip.com/subsonic/index.view" but src="http://mwheeler.getmyip.com/subsonic/login.view" kills the iframe.


Just remembered...

I modified the login.jsp page a bit. I commented out lines 8-12 (the bit about window top). This kept the login page from breaking out of the iframe.

Let me know if you need anymore specifics for this file.

subsonic/jetty/1529/webapp/WEB-INF/jsp/login.jsp
odiousfunk
 
Posts: 12
Joined: Tue Mar 09, 2010 5:58 pm
Location: ADK Mountains, USA

Postby ~heels » Thu Jun 24, 2010 5:42 pm

odiousfunk wrote:
~heels wrote:Strange if I'm already logged into subsonic I can get it to stay in the frame with src="http://mwheeler.getmyip.com/subsonic/index.view" but src="http://mwheeler.getmyip.com/subsonic/login.view" kills the iframe.


Just remembered...

I modified the login.jsp page a bit. I commented out lines 8-12 (the bit about window top). This kept the login page from breaking out of the iframe.

Let me know if you need anymore specifics for this file.

subsonic/jetty/1529/webapp/WEB-INF/jsp/login.jsp


Thanks! I will try that and see if it works.
~heels
 
Posts: 19
Joined: Tue Feb 02, 2010 4:40 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 13 guests