1 頁 (共 1 頁)

加入mp3音檔(網址)

發表於 : 2021-08-16 , 20:59
懸壺子
加入mp3音檔(網址)
https://www.phpbb.com/customise/db/bbcode/audio/

Installation of [ audio ]

1. Download bbmedia.js.zip and extract it into your phpbb directory
2. Go to ACP, tab "Posting", page "BBCodes"
3. Add [ audio ] BBCode as described below

第一步驟:bbmedia.js 這個檔案,上傳至網站跟目錄
再到後台BBCodes增加一個 [ audio ]

BBCode Usage:

代碼: 選擇全部

[audio]{URL}[/audio]
HTML Replacement:

代碼: 選擇全部

<div class='bbaudio' data-url='{URL}' style='margin: 1px; display: inline-block; vertical-align: bottom;'><div style='width: 200px; height: 40px; border: 1px solid #999; display: table-cell; text-align: center; vertical-align: middle; font: 10px/10px Verdana; color: #555; opacity: 0.5;'><a style='color: #105289; text-decoration: none;' href='http://phpbbex.com/' target='_blank'>phpBB</a> &#91;audio&#93;</div><script>if (typeof bbmedia == 'undefined') { bbmedia = true; var e = document.createElement('script'); e.async = true; e.src = 'bbmedia.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(e, s); }</script></div>
Help Line:

代碼: 選擇全部

加入: [audio]音樂網址[/audio]