function mp3player_install in MP3 Player 7.2
Same name and namespace in other branches
- 8 mp3player.install \mp3player_install()
- 6.2 mp3player.install \mp3player_install()
- 6 mp3player.install \mp3player_install()
Implementation of hook_install().
File
- ./
mp3player.install, line 12 - The install file for MP3 Player.
Code
function mp3player_install() {
//Insert Default Player
db_insert('mp3player_players')
->fields(array(
'name' => 'Default',
'autostart' => 'no',
'loopaudio' => 'no',
'animation' => 'yes',
'remaining' => 'no',
'noinfo' => 'no',
'initialvolume' => '60',
'buffer' => '5',
'encode' => 'no',
'rtl' => 'no',
'width' => 290,
'transparentpagebg' => 'no',
'pagebg' => '',
'bg' => 'E5E5E5',
'leftbg' => 'CCCCCC',
'lefticon' => '333333',
'voltrack' => 'F2F2F2',
'volslider' => '666666',
'rightbg' => 'B4B4B4',
'rightbghover' => '999999',
'righticon' => '333333',
'righticonhover' => 'FFFFFF',
'loader' => '009900',
'track' => 'FFFFFF',
'tracker' => 'DDDDDD',
'border' => 'CCCCCC',
'skip' => '666666',
'text' => '333333',
))
->execute();
}