學製帖和大家分享

來源: xiaokanshijie 2010-02-02 09:44:55 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (4126 bytes)
本文內容已被 [ xiaokanshijie ] 在 2010-02-02 09:47:15 編輯過。如有問題,請報告版主或論壇管理刪除.
1. Check 論壇幫助 on the left side of this page.
2. Know how to upload music file including mp3, wma, xml; using
音樂上傳 :
http://web.wenxuecity.com/upload.php
3. KD mostly used music player:
"this provides position of the player"



The swf file is a flash appearance of the music player.
behind the "flashvars" it is mended a mp3 player color appearance file with a playlist file, both are xml file.

4. The mp3 player xml file, hided in "config=http://space.wenxuecity.com/media/1255578817.xml", has the following text code, when opened by Notepad:



- choose here if you want the mp3player to automatically start and shuffle songs (true or false) -->
true
false

- choose the mp3player repeat mode (none, one or all) -->
all

- choose the mp3player volume (0 to 100) -->
100

- choose here if you want to show the display and playlist (true or false) -->
true
true


- choose here in what frame you want links to be opened (_blank, _self, _top or a framename) -->
_top

- choose the mp3player colors (hexadecimal, from 0x000000 to 0xffffff) -->
0x000000
0x3399ff
0xccffcc

- you can set a JPG as the background here to skin the mp3player (url to the jpg file) -->

http://i34.tinypic.com/f9ufs.jpg



You may change the color code for backcolor, frontcolor, and lightcolor to match your post.
After editing, save as anyname.xml file. Then you need uplaod using the link mentioned above to Wenxuecity. Then you get a new link like this: http://space.wenxuecity.com/media/12xxxxxxxx.xml
copy this new link back to the music player html code mentioned in 3.

5. The playlist xml file, hided in "file=http://space.wenxuecity.com/media/1265068196.xml", has a text code as following:





Sample PHP Generated Playlist

fengling




http://space.wenxuecity.com/media/1265060310.mp3 1. King of the Forest blank
http://space.wenxuecity.com/media/1265060823.mp3 2. Miss You blank




You can add many tracks by duplicate those above for many songs.

Now you see each song's mp3 file link, something like the following: http://space.wenxuecity.com/media/1265060823.mp3

Again using the music upload method mention in 2 to upload each mp3 file to get such a link and past into the playlist file. After you finished all songs, save your playlist file as a anyname.xml file. Then you need uplaod this xml file to Wenxuecity. Then you get a new link like this: http://space.wenxuecity.com/media/12xxxxxxxx.xml
copy this new link back to the playlist part in the music player html code mentioned in 3.

Save the code into html code for your music post. You are ready to post to KD.

I am not good at explaining. Hope you can figure it out.
請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”