Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Announcements:
The Free SoundManager2 Jamroom module is online!
ifeelmusic



Joined: 24 Sep 2008
Posts: 99

Posted: 04/08/11 04:55 
Any Update to this working or loading with ajax in the Nova theme?

Back to top
ifeelmusic



Joined: 24 Sep 2008
Posts: 99

Posted: 04/08/11 06:04 
Looks like the info for fixing this is here, but I'm not quite sure what to do with it in the actual file?

http://getsatisfaction.com/schillmania/topics/page_player_and_ajax

The changes would be made to inlineplayer.js
You can confirm this at the bottom of the post, even though some people are editing a different .js file, that is for their version of the player. The one we want is inlineplayer.js

and the code looks like this:
Code
/ clean up from previous ajax page
this.links = [];   
this.strings = [];
this.soundsByObject = [];
lastSound = null;
if(this.sounds.length > 0) {
for (var i=this.sounds.length; i--;) {
this.stopSound(this.sounds[i]);
}
}
this.sounds = [];


Back to top
ifeelmusic



Joined: 24 Sep 2008
Posts: 99

Posted: 04/08/11 06:21 
One more thing re: this

Looks like Soundmanager it has been updated since it has been used in the JR module.

Apparently, one of the things listed there is better ajax compatibility:

http://www.schillmania.com/projects/soundmanager2/doc/download/


Maybe, the combo of those things can help someone figure it out.

If you do, please share. Would love for this to work.

Back to top
Brian
Jamroom Team


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

Posted: 06/14/11 10:51 
I just updated the jrSoundManager module to version 1.4.0:

http://www.jamroom.net/index.php?m=td_market&o=browse&item_id=172

the soundmanager update looks like it has it working on AJAX loads now.

Hope this helps!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
Bloodcrave



Joined: 05 Jan 2008
Posts: 748

Posted: 10/27/11 05:10 
After the update the play buttons which I had configured has changed in to full players.
Now I see the full jw player instead of the chosen "play" button.


Code


 {if $HIFI_EXTENSION == 'mp3'}
     {jr_flash_player player_type="soundmanager" player_mode="song_hifi" play_img="`$JAMROOM_URL`/skins/Groove/images/hifi_stream.png" pause_img="`$JAMROOM_URL`/skins/Groove/images/hifi_pause.png" band_id="$BAND_ID" song_id="$SONG_ID"}
    {/if}
    {if $LOFI_EXTENSION == 'mp3'}
     {jr_flash_player player_type="soundmanager" player_mode="song_lofi" band_id="$BAND_ID" song_id="$SONG_ID"}
    {/if}


EDIT: It shows up correctly on other pages, but not on the home page (index.php).

Issue 2: When clicking on the play button, nothing happens.
As well when a HiFi and LoFi version is available, 2 play buttons show up. But I only want the Hifi button to show up.

Back to top
daddysylem
DS Flash Players


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

Posted: 10/27/11 08:47 
I'm not sure why the full player is showing up without looking at your page..........
And I assume you mean the full Soundmanager Player and not the Nova Player??
And you say it doesn't play when clicked, Is that just on the home page or all the pages??

I do know why 2-Buttons show up when you have both a HiFi and LoFi song versions.
Its because your {if} code isn't telling it to display only one or the other.........

I'm not good with PHP,
So maybe Kyle or Douglas can give you the correct code you need,
But I think you need something like this............

{if $HIFI_EXTENSION == 'mp3' && $LOFI_EXTENSION == 'mp3'}
Code to display a HiFi player.........
{else}
Code to display a HiFi player.........
{/if}

Greg -


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



Joined: 05 Jan 2008
Posts: 748

Posted: 10/27/11 10:53 
Hi Daddysylem,

The "if/else" code works, I totally forgot that since it has been almost a year ago when I developed for the last time on JR.

The Nova player which showed up first is now fixed. Now the Soundmanager player shows up. But still won;t play anything.
Neither on the homepage nor a other page.
When refreshing the page a "failed to load Soundmanager" popup shows up.

-Brian


daddysylem:
I'm not sure why the full player is showing up without looking at your page..........
And I assume you mean the full Soundmanager Player and not the Nova Player??
And you say it doesn't play when clicked, Is that just on the home page or all the pages??

I do know why 2-Buttons show up when you have both a HiFi and LoFi song versions.
Its because your {if} code isn't telling it to display only one or the other.........

I'm not good with PHP,
So maybe Kyle or Douglas can give you the correct code you need,
But I think you need something like this............

{if $HIFI_EXTENSION == 'mp3' && $LOFI_EXTENSION == 'mp3'}
Code to display a HiFi player.........
{else}
Code to display a HiFi player.........
{/if}

Greg -


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

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