Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
DS Flash Players:
Working jeroen player code
cafenubi



Joined: 17 Jan 2008
Posts: 400

Posted: 06/11/08 12:33 

SixString:
OK, this should do it.


Quote:
{jr_array name="vars" key="backcolor" value="0xFFFFFF"}
{jr_array name="vars" key="frontcolor" value="0x000000"}
{jr_array name="vars" key="lightcolor" value="0xFFFFFF"}
{jr_array name="vars" key="width" value="500"}
{jr_array name="vars" key="height" value="320"}
{jr_array name="vars" key="displaywidth" value="320"}
{jr_array name="vars" key="autostart" value="false"}
{jr_array name="vars" key="volume" value="50"}
{jr_flash_player player_type="jeroen" width="500" height="320" channel_id="2" params=$vars}


Smile


Wow Very Happy Thats Nice!
Thanks Alot!!!!

Back to top
whodaniel



Joined: 26 Jun 2006
Posts: 627

Posted: 06/11/08 12:42 
Could you show an example?

Back to top
cafenubi



Joined: 17 Jan 2008
Posts: 400

Posted: 06/11/08 12:55 

whodaniel:
Could you show an example?


Its the player on this page http://www.jeroenwijering.com/?page=wizard&example=21

Except its modified where the scolling video selector on the bottom is now on the right.

Back to top
cafenubi



Joined: 17 Jan 2008
Posts: 400

Posted: 06/11/08 13:01 

SixString:
OK, this should do it.


Quote:
{jr_array name="vars" key="backcolor" value="0xFFFFFF"}
{jr_array name="vars" key="frontcolor" value="0x000000"}
{jr_array name="vars" key="lightcolor" value="0xFFFFFF"}
{jr_array name="vars" key="width" value="500"}
{jr_array name="vars" key="height" value="320"}
{jr_array name="vars" key="displaywidth" value="320"}
{jr_array name="vars" key="autostart" value="false"}
{jr_array name="vars" key="volume" value="50"}
{jr_flash_player player_type="jeroen" width="500" height="320" channel_id="2" params=$vars}


Smile


SixString i really appreciate the code and the time you put into providing it,but if i may ask,if you can at you own leisure of course,provide the code with the scolling video selector on the bottom instead of the right,i love it the way it is but the words or titles of the videos are limited with it on the right side.If its on the bottom it might show the whole video title.

Thanks

(Also if i wanted to do the same with mp3s what would i call the player instead of jr_flash_player player_type="jeroen")

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 06/11/08 19:09 
Here ya go...


Quote:
{jr_array name="vars" key="backcolor" value="0xFFFFFF"}
{jr_array name="vars" key="frontcolor" value="0x000000"}
{jr_array name="vars" key="lightcolor" value="0xFFFFFF"}
{jr_array name="vars" key="width" value="320"}
{jr_array name="vars" key="height" value="500"}
{jr_array name="vars" key="displayheight" value="320"}
{jr_array name="vars" key="autostart" value="false"}
{jr_array name="vars" key="volume" value="50"}
{jr_flash_player player_type="jeroen" width="320" height="500" channel_id="2" params=$vars}


You can change the channel_id="2" part to radio_id="2" to play a jamroom station, but you may want to modify the width, height, and displayheight or displaywidth parameters.

You can also use song_id="2" and video_id="2" to play single audio and video files.

Hope this helps Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
cafenubi



Joined: 17 Jan 2008
Posts: 400

Posted: 06/12/08 13:14 

SixString:
Here ya go...


Quote:
{jr_array name="vars" key="backcolor" value="0xFFFFFF"}
{jr_array name="vars" key="frontcolor" value="0x000000"}
{jr_array name="vars" key="lightcolor" value="0xFFFFFF"}
{jr_array name="vars" key="width" value="320"}
{jr_array name="vars" key="height" value="500"}
{jr_array name="vars" key="displayheight" value="320"}
{jr_array name="vars" key="autostart" value="false"}
{jr_array name="vars" key="volume" value="50"}
{jr_flash_player player_type="jeroen" width="320" height="500" channel_id="2" params=$vars}


You can change the channel_id="2" part to radio_id="2" to play a jamroom station, but you may want to modify the width, height, and displayheight or displaywidth parameters.

You can also use song_id="2" and video_id="2" to play single audio and video files.

Hope this helps Smile


Thanks Again,I appreciate your help!It works fine.

Back to top
ittsmee2



Joined: 11 Oct 2006
Posts: 88

Posted: 06/23/08 19:14 
i have been following this, but I am unable to get a playlist listing to show with the jeroen player. It works but all it shows is the image, no list etc.

This is my code:


Code
{jr_array name="vars" key="backcolor" value="0xFFFFFF"}
{jr_array name="vars" key="frontcolor" value="0x000000"}
{jr_array name="vars" key="lightcolor" value="0xFFFFFF"}
{jr_array name="vars" key="width" value="220"}
{jr_array name="vars" key="height" value="320"}
{jr_array name="vars" key="displaywidth" value="220"}
{jr_array name="vars" key="autostart" value="false"}
{jr_array name="vars" key="volume" value="50"}
{jr_flash_player player_type="jeroen" width="220" height="320" channel_id="4" params=$vars}


Back to top
daddysylem
DS Flash Players


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

Posted: 06/23/08 22:12 
They all seem to be working ok for me??
Im using IE7....


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


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 06/23/08 23:57 
not that it really matters but you dont need to define width and height twice. (once in jr_array and once in the jr_flash_player)

once in either place should do.

ps. player on your site looks like its working here for me to on FF3


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


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 06/24/08 06:00 

ittsmee2:
i have been following this, but I am unable to get a playlist listing to show with the jeroen player. It works but all it shows is the image, no list etc.

This is my code:


Code
{jr_array name="vars" key="backcolor" value="0xFFFFFF"}
{jr_array name="vars" key="frontcolor" value="0x000000"}
{jr_array name="vars" key="lightcolor" value="0xFFFFFF"}
{jr_array name="vars" key="width" value="220"}
{jr_array name="vars" key="height" value="320"}
{jr_array name="vars" key="displaywidth" value="220"}
{jr_array name="vars" key="autostart" value="false"}
{jr_array name="vars" key="volume" value="50"}
{jr_flash_player player_type="jeroen" width="220" height="320" channel_id="4" params=$vars}


Can you show me the code your using for the radio player?


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
ittsmee2



Joined: 11 Oct 2006
Posts: 88

Posted: 06/24/08 08:31 
Thist is the code I am using for the radio player.


Code
{jr_flash_player player_type="jeroen" radio_id=4 width="220" height="85" player_playlist_title="GMZ TV" params=$vars}
{jr_array name="vars" key="backcolor" value="0xeeeeee"}
{jr_array name="vars" key="frontcolor" value="0x006666"}
{jr_array name="vars" key="lightcolor" value="0x666666"}
{jr_array name="vars" key="screencolor" value="0xeeeeee"}
{jr_array name="vars" key="displaywidth" value="65"}
{jr_array name="vars" key="displayheight" value="65"}
{jr_array name="vars" key="searchbar" value="false"}
{jr_array name="vars" key="repeat" value="true"}
{jr_array name="vars" key="shuffle" value="true"}


Back to top
ittsmee2



Joined: 11 Oct 2006
Posts: 88

Posted: 06/24/08 08:33 

ussher:
not that it really matters but you dont need to define width and height twice. (once in jr_array and once in the jr_flash_player)

once in either place should do.

ps. player on your site looks like its working here for me to on FF3


The video player shows the playlist but the radio player does not.

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 06/24/08 08:48 
Give this a try:



Quote:
{jr_array name="vars" key="backcolor" value="0xeeeeee"}
{jr_array name="vars" key="frontcolor" value="0x006666"}
{jr_array name="vars" key="lightcolor" value="0x666666"}
{jr_array name="vars" key="screencolor" value="0xeeeeee"}
{jr_array name="vars" key="width" value="65"}
{jr_array name="vars" key="height" value="20"}
{jr_array name="vars" key="displayheight" value="65"}
{jr_array name="vars" key="searchbar" value="false"}
{jr_array name="vars" key="repeat" value="true"}
{jr_array name="vars" key="shuffle" value="true"}
{jr_flash_player player_type="jeroen" radio_id=4 width="65" height="20" player_playlist_title="GMZ TV" params=$vars}


Basically, the width and height set the width and height of the player, the displaywidth and displayheight set the height or width of the playlist, its one or the other too, and the width or height is wider or taller than the regular width or height.

Hope that made sense and helps Wink


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
ittsmee2



Joined: 11 Oct 2006
Posts: 88

Posted: 06/24/08 09:59 
ok, I got the radio player to display but it is messing up my video player now and it was working properly. Has anyone been able to get two players to display correctly on the same page?

Back to top
ittsmee2



Joined: 11 Oct 2006
Posts: 88

Posted: 06/25/08 12:33 
Can there be 2 jeroen players on the same page without conflict? I know it can be done, but it doesn't seem to work with the jr_flash_player code

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
DS Flash Players

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