You are here

function mp3player_install in MP3 Player 6

Same name and namespace in other branches
  1. 8 mp3player.install \mp3player_install()
  2. 6.2 mp3player.install \mp3player_install()
  3. 7.2 mp3player.install \mp3player_install()

Implementation of hook_install().

File

./mp3player.install, line 30
The install file for MP3 Player.

Code

function mp3player_install() {
  drupal_install_schema('mp3player');

  //Insert Default Player
  db_query("INSERT INTO {mp3player_players} (name, autostart, loopaudio, animation, remaining, noinfo, initialvolume, buffer, encode, rtl, width, transparentpagebg, pagebg, bg, leftbg, lefticon, voltrack, volslider, rightbg, rightbghover, righticon, righticonhover, loader, track, tracker, border, skip, text) VALUES ('Default', 'no', 'no', 'yes', 'no', 'no', '60', '5', 'no', 'no', 290, 'no', '', 'E5E5E5', 'CCCCCC', '333333', 'F2F2F2', '666666', 'B4B4B4', '999999', '333333', 'FFFFFF', '009900', 'FFFFFF', 'DDDDDD', 'CCCCCC', '666666', '333333')");
}