ดาวน์โหลด
mp3_player
http://depositfiles.com/en/files/8y0wy0og5 อัพไว้ใน /chat/modules
วิธีทำให้เห็นเอ็มพี3
เปิดไฟล์ /public_html/chat/inc/config.php
หา
// This 'module' block demonstrates how to load two modules simultaneously
/*'module' => array(
'anchor' => '0',//the anchor point: -1,0,1,2,3 or 4 (0=centered,1-4=corners of space below roomlist) + 5-14 points
//anchor of -1 means that module will occupy a floating window (not anchored with flashchat template)
'path' => 'modules/mp3_player/mp3player.swf',//set to '' to disable. To see how this works, use 'banner.swf' or 'moduleTest.swf'
'stretch' => 'true,true',// if true, anchored SWF is stretched horizontally & vertically to fill all available space
'float_x' => '300,300', // the default "x" position of the floating window (when anchor = -1)
'float_y' => '200,200', // the default "y" position of the floating window (when anchor = -1)
'float_w' => '300,300', // the default width of the floating window (when anchor = -1)
'float_h' => '300,300', // the default height of the floating window (when anchor = -1)
),*/
ต่อท้ายด้วย
[ 'module' => array(
'anchor' => 0,
'path' => 'modules/mp3_player/mp3player.swf',
'stretch' => true,
'float_x' => 300,
'float_y' => 200,
'float_w' => 100,
'float_h' => 100,
),
/code]
การเพิ่มชื่อเพลง
สามารถเพิ่มเพลง mp3. ได้โดยแก้ไชไฟล์ list.xml
[code]<song src="mp3/38.mp3">
<title>Freestyle</title> //ชื่อศิลปิน
<artist>YZAZ</artist>//ชื่อเพลง
<genre>Rock</genre>//แนวเพลง
<duration>2:58</duration>เวลา
</song>
เอาmp3 ไปใส่ในโพล์เดอร์ mp3 หรือจะทำชื่ออื่นกก็ได้ครับ
[/code]