Jamroom Logo
Newsletter
Member Spotlight
143297
iOnSonic
"ionsonic is a media utility connecting bands, artists and fans around the world. With help from Jamroom this objective became so much easier. We find our users appreciate the ease of use this marvelous script applies to it's various tasks and functions. We at ionsonic appreciate the rock solid support available from the Jamroom crew and the development effort put in by them to maintain and continue to evolve Jamroom into a Web 2.0 application."
Follow Jamroom on Twitter!

This document applies to Jamroom 3 only!
For current Jamroom 4 Documentation, visit the main Jamroom Documentation section.

{jr_whos_online} Index Installing the getid3 option in Jamroom

{jr_windows_media_player}


The {jr_windows_media_player} template function is used for embedding a Windows Media Player object into a Jamroom Template.

Parameters:

Name Type Required Default Description
band_id number yes n/a the "band_id" parameter tells Jamroom the band_id that the embedded Windows Media Player will be configured for.
type string yes n/a

The "type" parameter tells Jamroom the type of media that will be used in the embedded Windows Media Player.  Valid values are:

  • song_hifi - for playing a HIFI song file
  • song_lofi - for playing a LOFI song file
  • video - for playing a Video file
width number no 300 The "width" parameter tells Jamroom how wide to make the embedded Windows Media Player.
height number no 45 (audio) 200 (video) The "height" parameter tells Jamroom how tall to make the embedded Windows Media Player.
song_id number yes * n/a If using the "song_hifi" or "song_lofi" type, then a song_id is required. * not required if type is "video".
video_id number yes * n/a If using the "video" type, then a video_id is required. * not required if type is "song_hifi" or "song_lofi".
assign string no n/a If the "assign" parameter is given, then the HTML code that is created by the {jr_windows_media_player} function will be saved to the name given as "assign" and can be access later in the template as $name, where $name is the name of the variable given.

 

Examples:

embedded {jr_windows_media_player}

{jr_windows_media_player type="song_hifi" band_id="5" song_id="3"}

{jr_whos_online} page 180 of 185 Installing the getid3 option in Jamroom
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom Core
Jamroom Addons
Jamroom Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2012 Talldude Networks, LLC.