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



Joined: 14 Aug 2006
Posts: 600

Posted: 06/06/08 16:08 
I will pay for a working code for jeroen player like the one on this link below but I need the image and titles to be on the right side of the player. The code will be then shared here in jamroom for every to use. Any one interested PM me. http://www.jeroenwijering.com/?page=wizard&example=21

Back to top
Douglas
Jamroom Team


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

Posted: 06/07/08 09:01 
In your include/plugins/jrPlaylist/xspf.default.tpl file, add this after line 11 for the images and titles for videos:


Code
<creator>{$_media.band_name}</creator>
<title>{$_media.video_name}</title>


then add this after line 29 for audio images and titles:


Code
<creator>{$_media.band_name}</creator>
<title>{$_media.song_album} - {$_media.song_name}</title>


Then use this code for your player:


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="320"}
{jr_array name="vars" key="displaywidth" value="500"}
{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="320" channel_id="X" params=$vars}


be sure to change the text in red to the channel id you want to show or you can use the same code and change the channel_id="X" to video_id="X" or video_id=$VIDEO_ID and use it for your profile pages.

Hope this helps Smile


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

Last edited by Douglas on 06/10/08 04:39; edited 1 time in total
Back to top
daddysylem
DS Flash Players


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

Posted: 06/07/08 09:33 
Thanks Six,
I'm sure this will help him......... Very Happy
But one of his PM's to me said he was trying to not only get the playlist on the side of the player but he wanted it to play the top 100 videos too.

Any ideas to help him on this??

And I'm sorry but I've been so busy with my work and trying to finish up other players that I really just haven't had time to even look at the Jeroen Player yet......


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


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

Posted: 06/07/08 10:03 
Thats a good question... I'll have to do some testing to see if I can get that to work. Wink


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



Joined: 14 Aug 2006
Posts: 600

Posted: 06/08/08 11:42 
Thanks guys, the video plays but the title and name of artist still displays undefined.

Back to top
Douglas
Jamroom Team


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

Posted: 06/09/08 06:01 

mapyaboy:
Thanks guys, the video plays but the title and name of artist still displays undefined.


Did you add the lines to your include/plugins/jrPlaylist/xspf.default.tpl file?


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



Joined: 14 Aug 2006
Posts: 600

Posted: 06/09/08 14:25 
Yes I did, Here is what I have on the template xspf.default.tpl

Code
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
<trackList>
{foreach from=$_MEDIA item='_media'}
  <track>
  {if isset($_media.video_id)}
    <location>{$_media.stream_url}</location>
    <annotation>{$_media.video_name}</annotation>
    <bandname>{$_media.band_name}</bandname>
    <videoname>{$_media.video_name}</videoname>
    <genre>{$_media.genre_name}</genre>
    <creator>{$_media.band_name}</creator>
    <title>{$media.video_name}</title>
    <videosnipper>{$_media.profile_url}/videosnipper.txt</videosnipper>
    <popvid>{$_media.profile_url}/popvideo.php</popvid>
    <popvidsingle>{$_media.profile_url}/popvideo.php?id={$_media.video_id}</popvidsingle>
    {if $_media.vault_id > 0 && $_media.vault_hidden != '1' && $_media.vault_show == 'yes'}
      <vault>{$JAMROOM_URL}/{$jamroom_index}?mode=cp&amp;page=add&amp;id={$_media.vault_id}</vault>
      <price>{$currency_symbol}{$_media.vault_price}</price>
    {/if}
    <info>{$_media.profile_url}/</info>
    {if !isset($_media.no_images)}
      <bandimage>{$_media.band_image_url}&amp;width=128&amp;height=128</bandimage>
      <image>{$_media.image_url}&amp;width=128&amp;height=128</image>
    {/if}
  {else}
    <location>{$_media.stream_url}</location>
    <annotation>{$_media.band_name} - {$_media.song_name}</annotation>
    <bandname>{$_media.band_name}</bandname>
    <creator>{$_media.band_name}</creator>
    <title>{$media.song_album}-{$media.song_name}</title>
    <songname>{$_media.song_name}</songname>
    <songlength>{$_media.length}</songlength>
    <genre>{$_media.genre_name}</genre>
    <musicsnipper>{$_media.profile_url}/musicsnipper.txt</musicsnipper>
    <popmp3>{$_media.profile_url}/popmp3.php</popmp3>
    {if $_media.vault_id > 0 && $_media.vault_hidden != '1' && $_media.vault_show == 'yes'}
      <vault>{$JAMROOM_URL}/{$jamroom_index}?mode=cp&amp;page=add&amp;id={$_media.vault_id}</vault>
      <price>{$currency_symbol}{$_media.vault_price}</price>
    {/if}
    <info>{$_media.profile_url}/</info>
    {if !isset($_media.no_images)}
      <bandimage>{$_media.band_image_url}&amp;width=128&amp;height=128</bandimage>
      <image>{$_media.image_url}&amp;width=128&amp;height=128</image>
    {/if}
  {/if}
  </track>
{/foreach}
</trackList>
</playlist>


Back to top
Douglas
Jamroom Team


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

Posted: 06/10/08 04:39 
Your missing a couple of underscores because I forgot them in my post... try this:


Quote:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
<trackList>
{foreach from=$_MEDIA item='_media'}
<track>
{if isset($_media.video_id)}
<location>{$_media.stream_url}</location>
<annotation>{$_media.video_name}</annotation>
<bandname>{$_media.band_name}</bandname>
<videoname>{$_media.video_name}</videoname>
<genre>{$_media.genre_name}</genre>
<creator>{$_media.band_name}</creator>
<title>{$_media.video_name}</title>
<videosnipper>{$_media.profile_url}/videosnipper.txt</videosnipper>
<popvid>{$_media.profile_url}/popvideo.php</popvid>
<popvidsingle>{$_media.profile_url}/popvideo.php?id={$_media.video_id}</popvidsingle>
{if $_media.vault_id > 0 && $_media.vault_hidden != '1' && $_media.vault_show == 'yes'}
<vault>{$JAMROOM_URL}/{$jamroom_index}?mode=cp&amp;page=add&amp;id={$_media.vault_id}</vault>
<price>{$currency_symbol}{$_media.vault_price}</price>
{/if}
<info>{$_media.profile_url}/</info>
{if !isset($_media.no_images)}
<bandimage>{$_media.band_image_url}&amp;width=128&amp;height=128</bandimage>
<image>{$_media.image_url}&amp;width=128&amp;height=128</image>
{/if}
{else}
<location>{$_media.stream_url}</location>
<annotation>{$_media.band_name} - {$_media.song_name}</annotation>
<bandname>{$_media.band_name}</bandname>
<creator>{$_media.band_name}</creator>
<title>{$_media.song_album}-{$_media.song_name}</title>
<songname>{$_media.song_name}</songname>
<songlength>{$_media.length}</songlength>
<genre>{$_media.genre_name}</genre>
<musicsnipper>{$_media.profile_url}/musicsnipper.txt</musicsnipper>
<popmp3>{$_media.profile_url}/popmp3.php</popmp3>
{if $_media.vault_id > 0 && $_media.vault_hidden != '1' && $_media.vault_show == 'yes'}
<vault>{$JAMROOM_URL}/{$jamroom_index}?mode=cp&amp;page=add&amp;id={$_media.vault_id}</vault>
<price>{$currency_symbol}{$_media.vault_price}</price>
{/if}
<info>{$_media.profile_url}/</info>
{if !isset($_media.no_images)}
<bandimage>{$_media.band_image_url}&amp;width=128&amp;height=128</bandimage>
<image>{$_media.image_url}&amp;width=128&amp;height=128</image>
{/if}
{/if}
</track>
{/foreach}
</trackList>
</playlist>


Sorry about that... 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/10/08 13:54 

SixString:
Your missing a couple of underscores because I forgot them in my post... try this:


Quote:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
<trackList>
{foreach from=$_MEDIA item='_media'}
<track>
{if isset($_media.video_id)}
<location>{$_media.stream_url}</location>
<annotation>{$_media.video_name}</annotation>
<bandname>{$_media.band_name}</bandname>
<videoname>{$_media.video_name}</videoname>
<genre>{$_media.genre_name}</genre>
<creator>{$_media.band_name}</creator>
<title>{$_media.video_name}</title>
<videosnipper>{$_media.profile_url}/videosnipper.txt</videosnipper>
<popvid>{$_media.profile_url}/popvideo.php</popvid>
<popvidsingle>{$_media.profile_url}/popvideo.php?id={$_media.video_id}</popvidsingle>
{if $_media.vault_id > 0 && $_media.vault_hidden != '1' && $_media.vault_show == 'yes'}
<vault>{$JAMROOM_URL}/{$jamroom_index}?mode=cp&amp;page=add&amp;id={$_media.vault_id}</vault>
<price>{$currency_symbol}{$_media.vault_price}</price>
{/if}
<info>{$_media.profile_url}/</info>
{if !isset($_media.no_images)}
<bandimage>{$_media.band_image_url}&amp;width=128&amp;height=128</bandimage>
<image>{$_media.image_url}&amp;width=128&amp;height=128</image>
{/if}
{else}
<location>{$_media.stream_url}</location>
<annotation>{$_media.band_name} - {$_media.song_name}</annotation>
<bandname>{$_media.band_name}</bandname>
<creator>{$_media.band_name}</creator>
<title>{$_media.song_album}-{$_media.song_name}</title>
<songname>{$_media.song_name}</songname>
<songlength>{$_media.length}</songlength>
<genre>{$_media.genre_name}</genre>
<musicsnipper>{$_media.profile_url}/musicsnipper.txt</musicsnipper>
<popmp3>{$_media.profile_url}/popmp3.php</popmp3>
{if $_media.vault_id > 0 && $_media.vault_hidden != '1' && $_media.vault_show == 'yes'}
<vault>{$JAMROOM_URL}/{$jamroom_index}?mode=cp&amp;page=add&amp;id={$_media.vault_id}</vault>
<price>{$currency_symbol}{$_media.vault_price}</price>
{/if}
<info>{$_media.profile_url}/</info>
{if !isset($_media.no_images)}
<bandimage>{$_media.band_image_url}&amp;width=128&amp;height=128</bandimage>
<image>{$_media.image_url}&amp;width=128&amp;height=128</image>
{/if}
{/if}
</track>
{/foreach}
</trackList>
</playlist>


Sorry about that... Smile


I copied the codes you provided and the video player shows up with a default jamroom image in it and when you click play the videos play but the video scroll option like on the site that the original link is to on the right is missing Confused

Back to top
Douglas
Jamroom Team


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

Posted: 06/10/08 14:00 
What does your embed code look like, the code you used to embed the player...


_________________
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/10/08 14:06 

SixString:
What does your embed code look like, the code you used to embed the player...



{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="320"}
{jr_array name="vars" key="displaywidth" value="500"}
{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="320" channel_id="2" params=$vars}

Back to top
mapyaboy



Joined: 14 Aug 2006
Posts: 600

Posted: 06/10/08 14:23 
cafenubi
I changed the size to this to have the titles on the right. The scroll shows but the titles dont. By the way the scroll is clickable and all the videos plays, is just the titles are being displayed as undefined.

Code
<div class="body_6">
{jr_array name="vars" key="backcolor" value="0x000000"}
{jr_array name="vars" key="frontcolor" value="0x999999"}
{jr_array name="vars" key="lightcolor" value="0x999999"}
{jr_array name="vars" key="width" value="700"}
{jr_array name="vars" key="height" value="350"}
{jr_array name="vars" key="displaywidth" value="360"}
{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="700" height="350" channel_id="1" params=$vars}

</div>


Back to top
Douglas
Jamroom Team


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

Posted: 06/10/08 14:24 
Try this:


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="320"}
{jr_array name="vars" key="displaywidth" value="500"}
{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}


if that doesn't do it, can you give me a link to the page?

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/10/08 15:44 

SixString:
Try this:


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="320"}
{jr_array name="vars" key="displaywidth" value="500"}
{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}


if that doesn't do it, can you give me a link to the page?

Hope this helps Smile


I sent the link to your inbox.

Back to top
Douglas
Jamroom Team


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

Posted: 06/11/08 05:18 
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


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
DS Flash Players

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