Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Announcements:
SoundCloud Seamless Module Released
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 02/19/12 15:26 
Hello PA,

I dont know ifs possible but people requested ifs possible to use differnt soundcloud embed players with the module. ( I never had a premium account on soundcloud ) There are maney who pay for a profile and can choose between differnt players. Maybe it is a great feature to for the regular module.


Best regards,
Acidphantom

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 02/19/12 15:41 
The SC embed code can be edited on the module's settings page, so presumably you could configure a different player there.


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 02/19/12 15:49 
Thats so cool... I will thake care that I do that.

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 02/19/12 15:59 
An option for a future release might be to have 2/3 embed code fields so that you can decide which player to show in the templates.


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 02/20/12 10:49 
that would be cool so people without haveing soundcloud premium still abled to choose the player Mr. Green

Back to top
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 02/20/12 14:35 
Some example codes



Code
HTML5     
 <iframe width="100%" height="166" scrolling="no" frameborder="no"
src="http://w.soundcloud.com/player/?     
url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F19904233&amp;auto_play=false&amp;show_artwork=true&amp;color=7df76c"></iframe>

flash
 <object height="81" width="100%"> <param name="movie"
value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F19904233&amp;show_comments=true&amp;auto_play=false&amp;color=7df76c"></param>
<param name="allowscriptaccess" value="always"></param> <embed
allowscriptaccess="always" height="81"
src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F19904233&amp;show_comments=true&amp;auto_play=false&amp;color=7df76c"
type="application/x-shockwave-flash" width="100%"></embed> </object>   <span><a
href="http://soundcloud.com/username/trackname">trackname</a> by <a
href="http://soundcloud.com/username">username</a></span>

mini 
 <object height="18" width="100%"> <param name="movie"
value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F19904233&amp;auto_play=false&amp;player_type=tiny&amp;font=Arial&amp;color=7df76c"></param>
<param name="allowscriptaccess" value="always"></param> <param name="wmode"
value="transparent"></param><embed wmode="transparent" allowscriptaccess="always"
height="18"
src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F19904233&amp;auto_play=false&amp;player_type=tiny&amp;font=Arial&amp;color=7df76c"
type="application/x-shockwave-flash" width="100%"></embed> </object>   

artwork 
<object height="300" width="300"> <param name="movie"
value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F19904233&amp;auto_play=false&amp;player_type=artwork&amp;color=7df76c"></param>
<param name="allowscriptaccess" value="always"></param> <embed
allowscriptaccess="always" height="300"
src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F19904233&amp;auto_play=false&amp;player_type=artwork&amp;color=7df76c"
type="application/x-shockwave-flash" width="300"></embed> </object>



Best regards,
Acidphantom

Back to top
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 02/26/12 18:54 
Hi paul,

if imported alot tracks same time not show all actions .. also titels are missing in actions.


Best regards,
Acidphantom

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 02/27/12 03:09 
If you do check multiple SC tracks to import all at once, this is considered to be one action, so only one entry in the action table. For the same reason, no media name is entered. It was a decision between all of them, or none.
hth
Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 02/29/12 04:19 
Hi Paul,

is it possible to make if no art work taking automatically the profile pic for the tracks added by soundcloud?


Best regards,
Acidphantom

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 02/29/12 04:27 

Acidphantom:
Hi Paul,

is it possible to make if no art work taking automatically the profile pic for the tracks added by soundcloud?


Best regards,
Acidphantom


That would best be done by conditional code in the templates. Maybe something like -


Code
{if $_scData.artwork_url|stristr:"http"}
  Show SC Image
{else}
  Show Artist Image
{/if}


hth
Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 02/29/12 04:34 
Im noob in this... Sad


I have this code: jr_ranking_row.tpl ( theme )


Code
{***** paSCSeamless Module Addition *****}
{elseif $MODE == 'song' && $SONG_SOUNDCLOUD_ID != '' && is_numeric($SONG_SOUNDCLOUD_ID)}
{paSCSeamless_GetTrackData soundcloud_data=$SONG_SOUNDCLOUD_DATA assign="_scData"}
{if $SONG_RANK == $FIRST_RANK_NUM}<br />
<div class="theme_rank">{/if}
  <div class="theme_item" id="song_{$SONG_ID}"> <a onclick="mLoad('#player','song_{$SONG_ID}.php','#player_wrap')"><img title="{$SONG_NAME}" src="{$_scData.artwork_url}" width="57" height="45" /></a> </div>
  {if $SONG_RANK == $LAST_RANK_NUM} <br style="clear:both" />
  </div><br />
{/if}
{*****}

{elseif $MODE == 'song'}
{if $SONG_RANK == $FIRST_RANK_NUM}<br />
<div class="theme_rank">{/if}
  <div class="theme_item" id="song_{$SONG_ID}"> <a onclick="mLoad('#player','song_{$SONG_ID}.php','#player_wrap')"><img title="{$SONG_NAME}" src="{$SONG_IMAGE_URL}&width=57&crop_height=45" /></a> </div>
  {if $SONG_RANK == $LAST_RANK_NUM} <br style="clear:both" />
  </div><br />
{/if}



Best regards,
Acidphantom

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 02/29/12 04:43 

Code
{***** paSCSeamless Module Addition *****}
{elseif $MODE == 'song' && $SONG_SOUNDCLOUD_ID != '' && is_numeric($SONG_SOUNDCLOUD_ID)}
  {paSCSeamless_GetTrackData soundcloud_data=$SONG_SOUNDCLOUD_DATA assign="_scData"}
  {if $SONG_RANK == $FIRST_RANK_NUM}<br />
    <div class="theme_rank">
  {/if}
  <div class="theme_item" id="song_{$SONG_ID}">
  <a onclick="mLoad('#player','song_{$SONG_ID}.php','#player_wrap')">
    {if $_scData.artwork_url|stristr:"http"}
      <img title="{$SONG_NAME}" src="{$_scData.artwork_url}" width="57" height="45" />
    {else}
      <img title="{$BAND_NAME}" src="{$BAND_IMAGE_URL}" width="57" height="45" />
    {/if}
  </a>
  </div>
  {if $SONG_RANK == $LAST_RANK_NUM}
    <br style="clear:both" />
    </div>
    <br />
  {/if}
{*****}



_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 02/29/12 04:53 
Hi Paul,

thank you very much. Mr. Green


Best regards,
Acidphantom

Back to top
Paul
Jamroom Team


Joined: 20 Aug 2003
Posts: 5341
Location: Nottingham, UK

Posted: 02/29/12 04:58 
I've not tried that code and am guessing that the stristr will work and that there is always an 'http' in the SC url, so the code may need some 'fine tuning'.
Pa


_________________
Paul Asher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 03/01/12 12:00 
Hi Paul,

how to fix this issue... If you select an soundcloud track from index ( nova skin )

Links will show up in the soundcloud pop up, but if you select links nothing happand ( inside the pop up window )


Best regards,
Acidphantom

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

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