AL8 Forum » Discuz 5.0 及 5.5 插件發佈 » 音樂播放器免安裝版


2007-6-23 15:02 FunnyClub
音樂播放器免安裝版

演示:[url]http://srh.servehttp.com:8080/[/url]

版權:[url]http://exobud.nayana.org[/url]

把rar檔解壓,將[b]除music以外[/b]所有檔案上傳至根目錄

再將HTTP server首頁設定link由index.php改做index.html
[color=red]並不是把論壇中的index.php改成index.htm!!![/color]
↓↓↓↓↓↓↓↓
如果是用Apache HTTP Server 的話,開啟httpd.conf
找到:
[code]DirectoryIndex index.php[/code]

把index.php改成index.htm就可以,如果本身已經是index.htm則不需理會


把music上傳至./images/   //播放器圖檔

musicplayer是放歌的目錄

在exobudpl.js增加 / 移除音樂 (示範在[url=http://www.alan888.com/Discuz/viewthread.php?tid=115902&page=1#pid966483][b][u]#7[/u][/b][/url])

如果想把播放器放到論壇底頁,打開index.htm,把code修改成:

[code]<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>SRH( Score-Hunting )</title>
</head>
<frameset framespacing="0" border="0" rows="25,*" frameborder="0">
<frame name="index" src="index.php" target="_self">
<frame name="exobud" src="exobud.htm" scrolling="no" target="_self">
</frameset>
</html>
[/code]

[[i] 本帖最後由 FunnyClub 於 2007-6-23 16:18 編輯 [/i]]

2007-6-23 15:07 bebal
good////

2007-6-23 15:09 EWNEC
回覆 #1 FunnyClub 的帖子

把index.php改成index.htm
在運算上會出問題嘛!!?? :em36:

2007-6-23 15:14 FunnyClub
[quote]原帖由 [i]EWNEC[/i] 於 2007-6-23 15:09 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=966447&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]
把index.php改成index.htm
在運算上會出問題嘛!!?? :em36: [/quote]


並不是指把index.php這個檔案改成index.htm,還記得剛set論壇時設定的首頁嗎,那是http://domainname/index.php,要把它改成:

[code]http://domainname/index.htm[/code]

2007-6-23 15:42 homansiu
THX分享

2007-6-23 16:10 monkey0406
怎在exobudpl.js增加 / 移除音樂?

2007-6-23 16:16 FunnyClub
[quote]原帖由 [i]monkey0406[/i] 於 2007-6-23 16:10 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=966481&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]
怎在exobudpl.js增加 / 移除音樂? [/quote]


用記事本打開後,拉到最底見到一行
[code]mkList("/musicplayer/demo.mp3","this is demo");[/code]

根據這一行去設定

[code]mkList("/musicplayer/歌名.mp3","在List上顯示的名稱");[/code]

例如

[code]mkList("/musicplayer/淘汰.mp3","淘汰 - 陳奕迅");
mkList("/musicplayer/快樂男生.mp3","快樂男生 - 陳奕迅");
mkList("/musicplayer/好久不見.mp3","好久不見 - 陳奕迅");
mkList("/musicplayer/愛是一本書.mp3","愛是一本書 - 陳奕迅");
mkList("/musicplayer/月球上的人 (粵語).mp3","月球上的人 (粵語) - 陳奕迅");
mkList("/musicplayer/斷絕來往.mp3","斷絕來往 - 陳柏宇");[/code]

2007-6-23 16:28 EWNEC
[quote]原帖由 [i]FunnyClub[/i] 於 2007-6-23 15:14 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=966453&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]

並不是指把index.php這個檔案改成index.htm,還記得剛set論壇時設定的首頁嗎,那是http://domainname/index.php,要把它改成:
http://domainname/index.htm [/quote]
我就是在問,若index.htm不是由index.php啟動的,
那麼所有運算便就是不會進行嘛!!? :em36:
謝謝

2007-6-23 16:52 FunnyClub
[quote]原帖由 [i]EWNEC[/i] 於 2007-6-23 16:28 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=966489&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]

我就是在問,若index.htm不是由index.php啟動的,
那麼所有運算便就是不會進行嘛!!? :em36:
謝謝 [/quote]

沒問題的,變的仍然是index.php,只是一個普通的frameset

2007-6-28 19:19 beyond14
但一改本身個index.php 做index.htm , 入網站首頁便變成一堆文字碼

2007-6-28 20:34 beyond14
而家ok 左

但upload 晒d 歌卻話<無法播放> , 只有嘗試連線1 2 3

2007-6-29 11:13 FunnyClub
[quote]原帖由 [i]beyond14[/i] 於 2007-6-28 20:34 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=971333&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]
而家ok 左
但upload 晒d 歌卻話<無法播放> , 只有嘗試連線1 2 3 [/quote]


exobudpl.js裡的link有沒有改好?musicplayer呢個 folder入面既歌有冇改錯名?

2007-6-29 12:25 wai312
正~~~~~~~~~thxxxxxxxxx

2007-6-29 21:35 beyond14
改好晒, 亦試過幾次 , 都唔得
歌名最初中文後改英文一樣唔得

試過兩個不同server 的forum 都一樣唔得:em01:

[quote]原帖由 [i]FunnyClub[/i] 於 2007-6-29 11:13 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=971708&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]

exobudpl.js裡的link有沒有改好?musicplayer呢個 folder入面既歌有冇改錯名? [/quote]

2007-6-29 22:31 super83109
good job!!:angel:

2007-6-30 02:48 moonspell
好東西阿~~~
來試試看~~~

不懂的地方還請樓主堆費心了:em30:

2007-6-30 13:00 kaede_wyl
我唔明點將論壇首頁變做INDEX.HTM呀....

[[i] 本帖最後由 kaede_wyl 於 2007-6-30 14:10 編輯 [/i]]

2007-6-30 13:06 靈魂0
Support only!!!  :em32:

2007-6-30 14:27 FunnyClub
[quote]原帖由 [i]beyond14[/i] 於 2007-6-29 21:35 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=972336&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]
改好晒, 亦試過幾次 , 都唔得
歌名最初中文後改英文一樣唔得
試過兩個不同server 的forum 都一樣唔得:em01:
[/quote]


介唔介意copy你係exobudpl.js入面set歌既路徑黎睇下?因為小弟除左set錯歌名之外未試過出現呢個問題

2007-6-30 14:28 FunnyClub
[quote]原帖由 [i]kaede_wyl[/i] 於 2007-6-30 13:00 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=972828&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]
我唔明點將論壇首頁變做INDEX.HTM呀.... [/quote]


請問你係租server還是用自己電腦架論壇的?

2007-6-30 15:25 kaede_wyl
[quote]原帖由 [i]FunnyClub[/i] 於 2007-6-30 14:28 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=972894&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]

請問你係租server還是用自己電腦架論壇的? [/quote]
租sever~
其實有冇方法可以令到index.php都播到音樂?

[[i] 本帖最後由 kaede_wyl 於 2007-6-30 15:42 編輯 [/i]]

2007-6-30 17:00 FunnyClub
[quote]原帖由 [i]kaede_wyl[/i] 於 2007-6-30 15:25 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=972936&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]

租sever~
其實有冇方法可以令到index.php都播到音樂? [/quote]

可以,但係凈係得首頁播,一轉頁就會cut歌

2007-6-30 18:22 kaede_wyl
[quote]原帖由 [i]FunnyClub[/i] 於 2007-6-30 17:00 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=973001&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]

可以,但係凈係得首頁播,一轉頁就會cut歌 [/quote]
我想做到好似呢個網咁, 一入去就會play歌, 又唔洗係網址到打index.htm...
[url]http://www.andysammi.com/[/url]
可唔可以教我?:angel:

2007-7-8 08:30 edwardhk
好勁.............:em18:

2007-7-13 23:26 牙Lo
問根目錄在那裡??
我很笨的
請解答我的問題

2007-7-14 00:14 N!ck
Support it......
有空會裝來看看

2007-7-20 18:13 orange05
試用中..~ 謝了

2007-7-25 09:43 Bessica
我唔想係上面呀
可唔可以整一個下面既版本
有得選擇放上定下
呢個播放器將會受歡迎@@

2007-7-25 10:23 Bessica
點解會飛左第個壇到既-3-  ?

2007-7-25 10:35 Bessica
跟你這樣改成唔得

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>SRH( Score-Hunting )</title>
</head>
<frameset framespacing="0" border="0" rows="25,*" frameborder="0">
<frame name="index" src="index.php" target="_self">
<frame name="exobud" src="exobud.htm" scrolling="no" target="_self">
</frameset>
</html>

2007-7-25 11:21 ivan3545
安安試試,.........thanks

2007-7-25 12:28 FunnyClub
[quote]原帖由 [i]Bessica[/i] 於 2007-7-25 10:35 發表 [url=http://www.alan888.com/Discuz/redirect.php?goto=findpost&pid=996992&ptid=115902][img=13,13]http://www.alan888.com/Discuz/images/common/back.gif[/img][/url]
跟你這樣改成唔得
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>SRH( Score-Hunting )</title>
</head>
<frameset framespacing="0" border="0" rows="2 ... [/quote]

請確定exobud.htm跟index.php是放在同一目錄下

放下版本:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>[color=red]論壇名[/color]</title>
</head>
<frameset framespacing="0" border="0" rows="*,25" frameborder="0">
<frame name="index" src="index.php" target="_self">
<frame name="exobud" src="exobud.htm" scrolling="no" target="_self">
</frameset>
</html>

2007-7-25 12:48 hkstation
looking good !

2007-8-3 19:11 GOWGOT
有演示嗎??

2007-8-7 16:01 虎虎之神
*** 作者被禁止或刪除 內容自動屏蔽 ***

2007-8-21 17:12 lan661203
[url]http://matsu.mytw.net[/url]

為什麼我進網頁  播放器就被蓋掉了

2007-8-24 09:30 hktc
呢個musicplayer我整過了...
抄我架?:em40:

2007-8-24 09:31 hktc
其實呢個player唔好用的:angel:

2008-7-11 21:51 失億
無法播放....係咁1.2.3無法播放
但我用屋企電腦囉黎test既播到..
但我用網存就播唔到..請問點做好??:em40:

2008-7-12 11:59 失億
解決了:em32:
給大家演示
[url]http://sytes.hkteng.com/[/url]

[[i] 本帖最後由 失億 於 2008-8-1 21:15 編輯 [/i]]

頁: [1] 2
查看完整版本: 音樂播放器免安裝版


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.