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]
代碼: 選擇全部
<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> [audio]</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>
代碼: 選擇全部
加入: [audio]音樂網址[/audio]