簡介:
audio 模塊允許有權限的用戶上傳音頻文件,它使用 getID3 library 來讀寫 ID3 meta-tag 信息。
這個模塊還附帶一個 XSPF Flash 播放器。
鏈接:
http://drupal.org/project/audio
To install the audio module
---------------------------
1. Extract the 'audio' module directory, including all its subdirectories, into
your sites/all/modules directory.
2. Install the getID3 package - optional but recommended. MAKE SURE YOU READ
THE SECURITY NOTE BELOW!
a. Download the project getId3 version from SourceForge.net. The latest
version tested with the audio module is 1.7.7. Earlier versions contain
bugs that will cause you headaches.
b. Extract the archive into the sites/all/modules/audio/getid3 directory. When you're
finished the directory structure should look something like:
drupal/
sites/
all/
modules/
audio/
getid3/
README.txt
[...]
getid3/
getid3.php
write.php
c. *** IMPORTANT ***
YOU MUST DELETE THE 'demos' FOLDER OF THE ID3 LIBRARY. FAILURE TO DO SO
OPENS UP A MASSIVE SECURITY HOLE AND MAKES YOUR SITE EXTREMELY VULNERABLE
TO ATTACKS!
3. Enable the audio, audio_getid3 and audio_image modules on the
admin >> build >> modules page. The database tables will be created
automagically for you at this point.
4. Go to admin >> settings >> audio and check that the path to the getID3
package is configured correctly. If you follow the above directory
structure, the path should be "sites/all/modules/audio/getid3/getid3/".
posted on 2007-12-17 15:25
周銳 閱讀(302)
評論(0) 編輯 收藏 所屬分類:
PHP