phpBB [audio]

audio.png
1.0 phpBB 3.0.x
Released:
Wed Jan 23, 2013 7:49 am
File size:
3.4 KiB
Validated for:
phpBB 3.0.x
MD5 checksum:
1630bf3c23451131c315c71999dc666f
Description
BBCode: phpBB [audio] | phpBB [video] | phpBB [media]

We are glad to present you a new universal BBCode "phpBB [audio]" which is compatible with both phpBB and phpBBex. To install you do not need to edit any files, it can be added through the admin panel or by running installation script.

Supported audio services

Currently the following audio services are supported:
  • soundcloud.com — the page URL and the URL from embed code
  • promodj.com — the track URL, the download URL and the URL from embed code
  • oga, ogg, mp3, m4a audio files via HTML5 <audio>

Usage example

The user copies the URL of the page of the audio and inserts it between the [audio][/audio]:

Code: Select all

[audio]http://soundcloud.com/ronaldjenkees/from-the-arrow-loop[/audio]

In the message is displayed as follows (it's an image, see live demo):
Image

URLs do not need to be cleaned from the garbage arguments as our [audio] will work it out.

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

Automatic updates

We regularly add support for new services, so the BBCode is updated frequently. For automatic updates you can use special PHP script. See FAQ for details.
  • Author VEG
  • Last updated Wed Jan 23, 2013 7:49 am
  • Total Downloads 2583
  • Rating
    (2)
  • Categories Video and Audio

Public performance attribution has been waived.

Demo

[audio]http://soundcloud.com/ronaldjenkees/from-the-arrow-loop[/audio]

Settings

BBCode Usage: Select all
[audio]{URL}[/audio]

HTML Replacement: Select all
<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: Select all
Insert audio: [audio]http://soundcloud.com/url[/audio]
  • Revisions
    Version
    phpBB Version(s)
  • 1.0
    3.0.x
    Validation time: Jan 23, 2013 7:49 am
    Downloads: 2583

    BBCode Usage: Select all
    [audio]{URL}[/audio]

    HTML Replacement: Select all
    <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: Select all
    Insert audio: [audio]http://soundcloud.com/url[/audio]