Jamroom Logo Jamroom 5 Core
is now Open Source!
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 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network