Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
DS Flash Players:
Getting the right url for the DSplayers playlist for remote
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 03/25/07 16:02 
Hey,you guys helped me get the players on the front page of my site,but I was wanting to put the player on a remote site showing the top ten songs.I think I just need to know what this url would be.
{$XSPF_HIFI_PLAYALL_URL}
Then it looks like I'll need to figure out how to get the top ten songs for that site.


_________________
http://patriotsnetwork.com
Back to top
daddysylem
DS Flash Players


Joined: 30 Mar 2005
Posts: 4086
Location: Southern California

Posted: 03/26/07 06:45 

OJ:
Hey,you guys helped me get the players on the front page of my site,but I was wanting to put the player on a remote site showing the top ten songs.I think I just need to know what this url would be.
{$XSPF_HIFI_PLAYALL_URL}
Then it looks like I'll need to figure out how to get the top ten songs for that site.


This is a real good question and I'm not sure what the answer would be....

You already know how to put the Top-10 in the players to be displayed on your own site. And to do that requires the use of Jamroom variables. But Jamroom variables won't work when posted on another site. So I'm not sure its possible to post a player with the Top10 songs from your site on another site without hard coding the results of the Jamroom variables needed to display the Top10. Which means that the songs being displayed on the other site will not change dynamically when the Top10 changes on your own site.

I'm not sure if there is a solution to this............


_________________
I have no idea why I do this..................
Email: daddysylem[at]dsplayerskins.com
DSPlayerSkins.com
GCFireSprinkler.com
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 03/26/07 10:24 
Do you know the way that it would work,would it try to load all of the songs on the site?
Thanks Gregg


_________________
http://patriotsnetwork.com
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 03/26/07 10:47 
I've been thinking of a way to do this. I think I've got it, but I can't try it completely right now because I'm at work, so this is a note to myself on what to try:

chart.tpl - include chart.php w/o row template and only this in header: {$PLAYPAGE_HIFI_MP3_URL}

flash player code with play_list url = mysite.com/index.php?t=chart.tpl|jr_urlencode etc. etc.

I don't know if that will work (it probably only makes sense to me right now anyways. I'll let you know if I can figure it out.


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 03/26/07 10:53 
Great!I'll be lookin out,that would be cool to have the main sites remote player and let people grab it for thier site...too,soooo there's some more work for ya,Ha


_________________
http://patriotsnetwork.com
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 03/26/07 10:58 
If you want to try it, here's what I'm trying to do:

embed a jr_chart in a template that will have a jr_chart function in it that ONLY has the playlist URL output. Save that output to a variable (I think you can use assign with the jr_chart function). Then, include that url in the same template like this: {include_php file=$PLAYLIST_URL}. Then, pass the url to that template as the play_list parameter of the flash player like this jamroom.net/index.php?t=chart.tpl hoping that it will use the playlist accordingly. Hopeuflly that makes sense!


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 03/26/07 11:03 
You lost me Kyle,It's still quite a ways over my head...Doohhhp


_________________
http://patriotsnetwork.com
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 03/26/07 13:12 
Dangit, not sure yet, thought I had it! We'll see...


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 03/26/07 13:20 
Fanfntastic!


_________________
http://patriotsnetwork.com
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 03/26/07 13:22 
I edited my post above because I wasn't sure. Check out this URL and paste the source code somewhere else on your own site and see if it updates:

http://kyle.jamroom.net/test/index.php?t=remote_chart_player


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 03/26/07 13:25 
I'm playing the first song from my html editor right now!


_________________
http://patriotsnetwork.com
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 03/26/07 13:30 
But does an update in the charts update the playlist?


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 03/26/07 13:40 
And make sure you are streaming songs from http://kyle.jamroom.net/test


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 03/26/07 13:48 
Yea,I copied and pasted the code excatly like that to my computer and streamed from your site!
(you need to add your GETID3 to your site.I just tried to upload a video to my new artis site.Turbulence...)


_________________
http://patriotsnetwork.com
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 03/26/07 13:50 
Cool. What artist/song do you see at the top of the playlist on the remote flash player right now?


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
DS Flash Players

12345Next >
 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.