[FIX] Jamroom Flash Parser none Jamroom Player

  • Cmp-Network
  • Beginner
  • Beginner
  • User avatar
  • Joined: Sep 17, 2007
  • Posts: 36
  • Loc: chicago
  • Status: Offline

Post September 17th, 2007, 6:35 pm

As some of you are probably aware Jamroom is quite a intigrated system that does not like to have "outside" things put into it sorta. Well i found a fix for adding a flash mp3 player (non jamroom edition stuff) to have on my template and well it does not interfear with anything.

I tried javascript first but well it seems it dont like javascript so i had to try some other methods and i found a method that sorta works except you need to click on the flash to enable it.

Here is the code i used for my player you need to add it to the jr_index_main.tpl file so it includes it into the index.php blank template.

below just change the fields to your config file, playlist file and domain name and flash swf player and if you have a jamroom template you should be fine.


Code: [ Select ]
<!-- FEATURED ARTIST -->
<div class="head-1">On Demand Audio</div><br />

<div class="body-1">
<object width="100%" height="200"
 classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
 codebase="http://fpdownload.macromedia.com/pub/
 shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://www.yourdomainname.com/mp3player.swf" />
<param name="bgcolor" value="#ff0000" />
<param name="menu" value="false" />
<param name="config" value="http://www.your domainname.com/configdocument.xml" />
<param name="quality" value="low" />
<param name="displayheight" value="150" />
<param name="autoscroll" value="false" />
<param name="showdigits" value="true" />
<param name="overstretch" value="false" />
<param name="thumbsinplaylist" value="false" />
<param name="repeat" value="true" />
<param name="lightcolor" value="0x006699" />
<param name="backcolor" value="0xffffff" />
<param name="frontcolor" value="0x000000" />
<param name="file" value="http://www.yourdomainname.com/file.xml" />
<embed src="http://www.chicagomusicpromotions.com/mp3player.swf" width="100%" height="200"
flashvars:"file=http://www.yourdomainname.com/file.xml&displayheight=100&autoscroll=false&showdigits=true&overstretch=false&thumbsinplaylist=false&repeat=true&lightcolor=0x006699&backcolor=0xffffff&frontcolor=0x000000" };
 bgcolor="#ff0000" menu="false" quality="low"
 type="application/x-shockwave-flash" pluginspage=
 "http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
  1. <!-- FEATURED ARTIST -->
  2. <div class="head-1">On Demand Audio</div><br />
  3. <div class="body-1">
  4. <object width="100%" height="200"
  5.  classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
  6.  codebase="http://fpdownload.macromedia.com/pub/
  7.  shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
  8. <param name="movie" value="http://www.yourdomainname.com/mp3player.swf" />
  9. <param name="bgcolor" value="#ff0000" />
  10. <param name="menu" value="false" />
  11. <param name="config" value="http://www.your domainname.com/configdocument.xml" />
  12. <param name="quality" value="low" />
  13. <param name="displayheight" value="150" />
  14. <param name="autoscroll" value="false" />
  15. <param name="showdigits" value="true" />
  16. <param name="overstretch" value="false" />
  17. <param name="thumbsinplaylist" value="false" />
  18. <param name="repeat" value="true" />
  19. <param name="lightcolor" value="0x006699" />
  20. <param name="backcolor" value="0xffffff" />
  21. <param name="frontcolor" value="0x000000" />
  22. <param name="file" value="http://www.yourdomainname.com/file.xml" />
  23. <embed src="http://www.chicagomusicpromotions.com/mp3player.swf" width="100%" height="200"
  24. flashvars:"file=http://www.yourdomainname.com/file.xml&displayheight=100&autoscroll=false&showdigits=true&overstretch=false&thumbsinplaylist=false&repeat=true&lightcolor=0x006699&backcolor=0xffffff&frontcolor=0x000000" };
  25.  bgcolor="#ff0000" menu="false" quality="low"
  26.  type="application/x-shockwave-flash" pluginspage=
  27.  "http://www.macromedia.com/go/getflashplayer" />
  28. </object>
  29. </div>
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 17th, 2007, 6:35 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post September 18th, 2007, 5:38 am

FYI - Please use the "Code" bbcode option when posting code. It makes it easier to read. Also HTML is disabled here. You'll need to edit your signature and use bbcode instead for it to work.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Cmp-Network
  • Beginner
  • Beginner
  • User avatar
  • Joined: Sep 17, 2007
  • Posts: 36
  • Loc: chicago
  • Status: Offline

Post April 15th, 2008, 9:22 am

Woops

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 45 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.