Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Third Party Products and Support:
XSPF not loading playlist...
daddysylem
DS Flash Players


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

Posted: 09/20/06 08:17 
Don't use the {literal}{/literal} tags around the javascript.........

This doesn't seem to be a PHP page and that explains why the variables are not getting parsed. And could explain why your having problems getting the playlist to create itself.

You may need get the maker of this theme to help in this.........


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


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

Posted: 09/20/06 08:28 
Try changing the song_id to "1" instead of "all" and see what that does


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



Joined: 07 Jul 2006
Posts: 68

Posted: 09/20/06 12:08 
if i change it from all to 1 it works... but it doesn't show the playlist right from the start I had to hit play which is not good better than nothing but not good.

the popup one just comes up completely blank.. it is under the hi_fi link.

Back to top
daddysylem
DS Flash Players


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

Posted: 09/20/06 14:54 

DetroitRap.Com:
if i change it from all to 1 it works... but it doesn't show the playlist right from the start I had to hit play which is not good better than nothing but not good.

the popup one just comes up completely blank.. it is under the hi_fi link.


The playlist doesn't autoload because you left off the rest of the string after ( type%3Dxspf" )

Add this.......... &autoload=true&info_button_text=Visit+Us&playlist_title=Click+The+Play+Button

So it reads.........
type%3Dxspf&autoload=true&info_button_text=Visit+Us&playlist_title=Click+The+Play+Button"

I'm not sure whats going on with your popup, haven't had time to look yet.

EDIT:
Ok I think I see what going on with the popup.
Try removing the variable {JAMROOM_URL} and type in the full path to the swf file inside your "player.php" file.

Code
http://www.detroitrap.com/jamroom/include/flash/xspf_player.swf


Your theme doesn't seem to process variables.


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



Joined: 07 Jul 2006
Posts: 68

Posted: 09/20/06 19:19 
ok seems to work good now... but you had me change song_id to 1

we plan to allow up to 6 songs for our Preferred artists... how do I make sure that the respective song plays if it is set to 1?

Back to top
daddysylem
DS Flash Players


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

Posted: 09/20/06 19:27 

DetroitRap.Com:
ok seems to work good now... but you had me change song_id to 1

we plan to allow up to 6 songs for our Preferred artists... how do I make sure that the respective song plays if it is set to 1?


That I'm not sure about,
I had you set it to (1) just to make sure the player and playlist work.
And since your theme doesn't seem to parse variables, I'm not sure what to advise you to do.

What version of Jamroom are you running?


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



Joined: 07 Jul 2006
Posts: 68

Posted: 09/20/06 19:28 
2.68 there are variables in the .tpl files... but the others don't work... is that variable i was using only 3.0 maybe...

Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 09/20/06 19:32 
I'm going to move this over to 3rd party support, as I am not sure what script is being used to process home_header.tpl, and that can change the way the variables in the playlist need to be formatted. Hopefully zorag will jump in here...

Thanks!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
DetroitRap.Com



Joined: 07 Jul 2006
Posts: 68

Posted: 09/20/06 19:34 
good point... in fact... i purchased the XSPF player from OINKBA... but it is for 3.0... but maybe it will give me some insight into how i have to format this...

Back to top
DetroitRap.Com



Joined: 07 Jul 2006
Posts: 68

Posted: 09/20/06 19:40 
well it's back to not loading the playlist with the code they had in there embedded player

here is what they had

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="500" height="170" >
<param name="allowScriptAccess" value="sameDomain"/>
<param name="movie" value="{$JAMROOM_URL}/include/flash/proton_xspf_player.swf?playlist_url={$XSPF_HIFI_SONG_URL}&autoload=true&info_button_text=Visit+Us&playlist_title=Media+player"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#000"/>
<param name="player_title" value="Jamroom Flash Player"/>
<param name="info_button_text" value="visit us"/>
<embed src="{$JAMROOM_URL}/include/flash/proton_xspf_player.swf?playlist_url={$XSPF_HIFI_SONG_URL}&autoload=true&info_button_text=Visit+Us&playlist_title=Media+player"
quality="high" bgcolor="#000" name="Jamroom Flash Player" allowscriptaccess="sameDomain" info_button_text="visit us"
player_title="Jamroom Flash Player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="170" width="500">
</embed>

Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 09/20/06 19:41 
the {$XSPF_HIFI_SONG_URL} is a "smarty" template variable, and likely is not available where you are trying to use it at - but we need zorag to confirm this by letting us know what us processing the "home_header.tpl".

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
DetroitRap.Com



Joined: 07 Jul 2006
Posts: 68

Posted: 09/20/06 19:44 
i just noticed that the player did not load at all with that code... the only difference ..... then caught on to that the player i had on the page had this for the jamroom url

{JAMROOM_URL} and it worked...

theirs has {$JAMROOM_URL}

I'm guess that is the problem with this as well... {$XSPF_HIFI_SONG_URL}

Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 09/20/06 19:46 
Yes - a lot of the Jamroom 2.x templates don't use the $ in the variable name, but it depends on what script is doing the processing. In Jamroom 3 everything has been standardized, and the $ is used everywhere.

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
DetroitRap.Com



Joined: 07 Jul 2006
Posts: 68

Posted: 09/20/06 19:47 
ok bigguy... man i am excited cause from all the other help i got on this board i didn't get anywhere except by myself.. i am glad yall are getting me somewhere on this faster than the 8 years it would take me.

Back to top
daddysylem
DS Flash Players


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

Posted: 09/20/06 19:47 
It doesn't seem to have anything to do with the player.

Its the code being used to call the player combined with how the page its loading on is processing that code.

No Jamroom variables seem to work on that page........??


_________________
I have no idea why I do this..................
Email: daddysylem[at]dsplayerskins.com
DSPlayerSkins.com
GCFireSprinkler.com
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Third Party Products and Support

< Previous1234Next >
 
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.