Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
User Site Design, Integration and Customization:
video spotlight jamroom 3
nebzine



Joined: 11 Oct 2004
Posts: 473
Location: Newcastle UK

Posted: 04/27/12 10:04 
Hi

im trying to rotate a video spotlight on the front page of www.spintronic.biz using jamroom 3.45. the code i have is :


Code
{jr_ranking mode="video_spotlight" row_template="jr_ranking_spotlight.tpl"}

<span class="subheadboldgrey" align="center">{jr_flash_player player_type="`$JAMROOM_URL`/themes/Cobalt3/ds_flv.swf" height="277" width="260" video_id=1,2,3,4}<hr align=center noshade size=4 width=100%>


however , it is only pulling back one of the videos (ive only uploaded two so far) - any ideas whats wrong with this?

Thanks

Mark


_________________
Nebzine (site was North East Bands Zine)

http://www.myspace.com/wonkothesane0
http://www.reverbnation.com/wonkothesane
Back to top
Bloodcrave



Joined: 05 Jan 2008
Posts: 748

Posted: 04/27/12 15:16 
it rotates when refreshing the page. Try to clear your cache.

Back to top
nebzine



Joined: 11 Oct 2004
Posts: 473
Location: Newcastle UK

Posted: 04/27/12 15:39 
done that a lot - its still not rotating - im trying to redo it using random number , but this only pulls in a random video and not the rest of the variables as in this code:


Code
{* $Id: jr_ranking_video_spotlight.tpl,v 3.9 2006-08-13 16:12:48 bigguy Exp $ *}
{* make sure our config is loaded for use *}
{config_load file="`$SKIN_DIR`/nautica.cfg"}
     {jr_random_number min="1" max="3" assign="VID_ID"}

     <hr align=center noshade size=4 width=100%><br/>
   
{jr_flash_player player_type="`$JAMROOM_URL`/themes/Cobalt3/ds_flv.swf" height="277" width="260" video_id=$VID_ID}
<a href="{$VIDEO_DOWNLOAD_URL}"><img src="{$SKIN_URL}/images/down_hifi.png" align="middle" style="vertical-align: middle;" border="0" title="Download Video">Download Video</a>
     <hr align=center noshade size=4 width=100%><br/>
   
     
   

      Video Name : {$VIDEO_NAME} <br/>
      About:{$VIDEO_CAPTION}
      Video Credits : {$VIDEO_CREDITS} <br/>
     
      Video Length : {$VIDEO_LENGTH} <br/>
      Video Plays : {$VIDEO_STREAM_COUNT} <BR/>
      Video Downloads : {$VIDEO_DOWNLOAD_COUNT} <BR/>
     Video Plays (ALL) : {$VIDEO_TOTAL_COUNT}


any further help appreciated


_________________
Nebzine (site was North East Bands Zine)

http://www.myspace.com/wonkothesane0
http://www.reverbnation.com/wonkothesane
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 04/27/12 16:09 
It rotates for me. When i use ctrl+F5 in firefox.

This would suggest that either:
1.) you have fixed the problem since writing this thread OR
2.) its a caching issue with your browser.

If its a caching issue you could try putting a random number on the end of it so that the browser thinks its a different URL and does not go looking for a cache.

I do it sometimes with images. img src="the-image-name.jpg?123456" where 123456 is a timestamp so different every time.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
nebzine



Joined: 11 Oct 2004
Posts: 473
Location: Newcastle UK

Posted: 04/27/12 17:31 
hi

yes i went back to the default template and have started editing that instead as i was completely baffled why my custom version did not work. still rome wasnt built in a day.


_________________
Nebzine (site was North East Bands Zine)

http://www.myspace.com/wonkothesane0
http://www.reverbnation.com/wonkothesane
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
User Site Design, Integration and Customization

 
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.