[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/audio/players/ -> button.inc (summary)

(no description)

File Size: 62 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  audio_button_audio_player()
  theme_audio_button_node_player()

Functions
Functions that are not part of a class:

audio_button_audio_player()   X-Ref
No description

theme_audio_button_node_player($node, $options = array()   X-Ref
The default mp3 player is the flash XSPF player. If you want to override
this behavior you can do so at the theme level.

A couple of options that may be of interest:
- backgroud color. If it's not specified, it'll default to transparent.
'b_bgcolor' => "000000"
- foregroung (border and icon) color.
'b_fgcolor' => "ffffff"
- foreground color by state. The order is: connecting (spinner),
ready (arrow), playing (square), and ??? (not sure). The b_fgcolor value
will be used for any ommitted values.
'b_colors' => "ff0000,,00000ff,000000",

param: $node
param: $options
return:



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7