Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Help:
flash player not always picking up.
lwaa



Joined: 25 Jan 2007
Posts: 135

Posted: 03/15/07 05:21 
if I play a song on my site, the flash player opens and plays it - perfect - (other than I'd like it to start playing automatically instead of opening the flash player, waiting, then seeing it says click to play)....but, if I go to my Chart page, it still downloads the m3u file. How can I make the chart page play via the flash pop up too?

thanks!

Back to top
daddysylem
DS Flash Players


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

Posted: 03/15/07 07:01 

lwaa:
if I play a song on my site, the flash player opens and plays it - perfect - (other than I'd like it to start playing automatically instead of opening the flash player, waiting, then seeing it says click to play)....


If your using the HiFi&LoFi button popup artist page add-on I put together.
You'll need to edit the following 2-templates from your "themes/Cobalt/" directory.
1. song_popup_hifi.tpl
2. song_popup_lofi.tpl

Find this in 2-places in both templates........
&autoload=true

And then add this right after it
&autoplay=true

So it will read like this in 2-places in both templates.
&autoload=true&autoplay=true

And if you not using the Add-on I put together, then just find the player code your using in the popup and add "&autoplay=true"


lwaa:

but, if I go to my Chart page, it still downloads the m3u file. How can I make the chart page play via the flash pop up too?
thanks!


I can tell you how to do this but it will modify all the charts on your site to use only the popup player and not just the chart in your artist theme.

Let me know...........


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



Joined: 25 Jan 2007
Posts: 135

Posted: 03/15/07 07:49 

daddysylem:
I can tell you how to do this but it will modify all the charts on your site to use only the popup player and not just the chart in your artist theme.


so then whenever anyone tries to play a song on the site, it'll play via the flash player, and not download an m3u file? Perfect.....thanks! Please tell.....

Back to top
daddysylem
DS Flash Players


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

Posted: 03/15/07 08:46 

lwaa:

so then whenever anyone tries to play a song on the site, it'll play via the flash player, and not download an m3u file? Perfect.....thanks! Please tell.....


For this to work.........
1. You need to already be using the popup template mods I posted in this thread.
http://www.jamroom.net/phpBB2/viewtopic.php?t=11521

2. If you do this you will have to also modify each new theme you install to only use the popup players with the HiFi and LoFi buttons or your overall site charts will display "page not found" when somone clicks on a button to play a song of an artist thats using a theme that hasn't been modified.

Please keep in mind that I have not thoroughly tested this...........

MOD..............
1. Edit the "skins/Cobalt/jr_chart_row.tpl" template

Find this..........

Code
{* check to be sure that HIFI STREAMS are allowed *}
          {if $HIFI_ALLOW_STREAM == 'yes' && $SONG_HIFI_SIZE > 0}
          <a href="{$SONG_HIFI_PLAY_URL}"><img src="{$SKIN_URL}/images/play_hifi.png" align="middle" style="vertical-align: middle" border="0" alt="Play HIFI" title="Play HIFI"></a>&nbsp;
          {/if}

          {* check to be sure that LOFI STREAMS are allowed *}
          {if $LOFI_ALLOW_STREAM == 'yes' && $SONG_LOFI_SIZE > 0}
          <a href="{$SONG_LOFI_PLAY_URL}"><img src="{$SKIN_URL}/images/play_lofi.png" align="middle" style="vertical-align: middle" border="0" alt="Play LOFI" title="Play LOFI"></a>&nbsp;
          {/if}


And replace it with this................

Code
{* check to be sure that HIFI STREAMS are allowed *}
          {if $HIFI_ALLOW_STREAM == 'yes' && $SONG_HIFI_SIZE > 0}
          <a href="{$ARTIST_URL}/{$SONG_ID}hifi.php" title="Play Song Hifi" onclick="popwin(this.href,'name','490','240','no');return false"><img src="{$SKIN_URL}/images/play_hifi.png" align="middle" style="vertical-align: middle" border="0" alt="Play HIFI" title="Play HIFI"></a>&nbsp;
          {/if}

          {* check to be sure that LOFI STREAMS are allowed *}
          {if $LOFI_ALLOW_STREAM == 'yes' && $SONG_LOFI_SIZE > 0}
          <a href="{$ARTIST_URL}/{$SONG_ID}lofi.php" title="Play Song Hifi" onclick="popwin(this.href,'name','490','240','no');return false"><img src="{$SKIN_URL}/images/play_lofi.png" align="middle" style="vertical-align: middle" border="0" alt="Play LOFI" title="Play LOFI"></a>&nbsp;
          {/if}



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



Joined: 25 Jan 2007
Posts: 135

Posted: 03/15/07 18:26 
help! It was working perfectly, now it doesn't on the index.php page - on the other pages, the flash player comes up perfectly!

I installed the automatic lofi creator and the LAME things for video - I updated everything to the latest version. I just reamended the jr_chart_row.tpl file as per your instructions, and am getting m3u's downloaded instead of the flash player! Argh!! Crying or Very sad

Back to top
daddysylem
DS Flash Players


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

Posted: 03/15/07 22:41 

lwaa:
help! It was working perfectly, now it doesn't on the index.php page - on the other pages, the flash player comes up perfectly!

I installed the automatic lofi creator and the LAME things for video - I updated everything to the latest version. I just reamended the jr_chart_row.tpl file as per your instructions, and am getting m3u's downloaded instead of the flash player! Argh!! Crying or Very sad


Does it still work in all your main chart pages and artist pages??

The index page uses the spotlight template, I think its "skins/jr_ranking_spotlight.tpl" but I'll have to confirm that later and post the changes needed.


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



Joined: 25 Jan 2007
Posts: 135

Posted: 03/16/07 03:32 
yes it works on the other pages, just not index.php

thanks

Back to top
daddysylem
DS Flash Players


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

Posted: 03/16/07 08:54 

lwaa:
yes it works on the other pages, just not index.php

thanks

The index page is for displaying your spotlight..........

You need to edit the "skins/Cobalt/jr_ranking_spotlight.tpl" template.

Find this in the template............

Code
{* check to be sure that HIFI STREAMS are allowed *}
            {if $HIFI_ALLOW_STREAM == 'yes' && $SONG_HIFI_SIZE > 0}
            <a href="{$SONG_HIFI_PLAY_URL}"><img src="{$SKIN_URL}/images/play_hifi.png" align="middle" style="vertical-align: middle" border="0" alt="Play HIFI" title="Play HIFI"></a>
            {else}
            -
            {/if}
          </td>
          <td class="row-1" align="center">
            {* check to be sure that LOFI STREAMS are allowed *}
            {if $LOFI_ALLOW_STREAM == 'yes' && $SONG_LOFI_SIZE > 0}
            <a href="{$SONG_LOFI_PLAY_URL}"><img src="{$SKIN_URL}/images/play_lofi.png" align="middle" style="vertical-align: middle" border="0" alt="Play LOFI" title="Play LOFI"></a>
            {else}
            -
            {/if}


And replace it with this.............

Code
{* check to be sure that HIFI STREAMS are allowed *}
            {if $HIFI_ALLOW_STREAM == 'yes' && $SONG_HIFI_SIZE > 0}
            <a href="{$ARTIST_URL}/{$SONG_ID}hifi.php" title="Play Song Hifi" onclick="popwin(this.href,'name','490','240','no');return false"><img src="{$SKIN_URL}/images/play_hifi.png" align="middle" style="vertical-align: middle" border="0" alt="Play HIFI" title="Play HIFI"></a>
            {else}
            -
            {/if}
          </td>
          <td class="row-1" align="center">
            {* check to be sure that LOFI STREAMS are allowed *}
            {if $LOFI_ALLOW_STREAM == 'yes' && $SONG_LOFI_SIZE > 0}
            <a href="{$ARTIST_URL}/{$SONG_ID}lofi.php" title="Play Song Lofi" onclick="popwin(this.href,'name','490','240','no');return false"><img src="{$SKIN_URL}/images/play_lofi.png" align="middle" style="vertical-align: middle" border="0" alt="Play LOFI" title="Play LOFI"></a>
            {else}
            -
            {/if}


Should work..............


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



Joined: 25 Jan 2007
Posts: 135

Posted: 03/18/07 17:33 
Thanks, but it only works if I'm logged in. Ideally, I'd like the radio on the home page to be playable by non members too, just the radio.

Back to top
daddysylem
DS Flash Players


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

Posted: 03/18/07 20:08 

lwaa:
Thanks, but it only works if I'm logged in. Ideally, I'd like the radio on the home page to be playable by non members too, just the radio.


You can set streaming options in the Admin under......
jamroom config - Account Settings - Stream Media Login

You can allow streaming or not allow streaming of all music from your site for visitors without being logged in, but I dont think there is a way to confine it to just radio stations.


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



Joined: 25 Jan 2007
Posts: 135

Posted: 03/19/07 02:33 
ok, thanks

Back to top
kdcent



Joined: 09 May 2006
Posts: 76

Posted: 06/12/07 09:43 
Can i use this pop up player on other theme except cobalt? such as Monochrome, and the Originals theme.

Back to top
smith.kyle
CodeSmith


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

Posted: 06/12/07 09:57 
Yes. Check out the Jamroom Marketplace: http://www.jamroom.net/Marketplace for links to themes that have integrated the player.


_________________
kyle[at]jamroom.net

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

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



Joined: 09 May 2006
Posts: 76

Posted: 06/12/07 10:20 
Thanks Kyle. i will check the link.

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Help

 
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.