Jamroom Logo
Newsletter
Member Spotlight
133607
RockAffairs
"The ability for Jamroom to be customized is what makes RockAffairs what it is. Getting the content you need on a page is simple, even for beginners. The admin interface is excellent, and you'll never need to touch the PHP code; Jamroom's inbuilt custom functions combined with Smarty give you everything you'll ever need. And if you do get stuck, customer support and a fantastic community always try to help. Visit RockAffairs, see Jamroom in action, then get it yourself. Rockaffairs *hearts* Jamroom!"
Follow Jamroom on Twitter!

{jr_whos_online} Index Installing and using Profile Themes

{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 152 of 171 Installing and using Profile Themes
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.