Audio

Audio 1.3

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
  4. 2.3
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Description:

Adds Audio BB code media.

(Example of .mp3 URL pasted into editor)

pic001.webp


(Example after post is saved)

pic002.webp


Features:
  • Uses HTML <audio> tag.
  • Plays MP3 files.
  • Paste URL into message and Audio player will be embedded.
  • URL's can be internal or external.
Setup:
  1. Create a directory called /data/files/audio on your server using File manager.
  2. Copy the src/Andy/Audio/audio.php file to your newly created directory.
  3. Install the Development mode options add-on and enable development mode. This will allow you to edit the BB code media site.
  4. Edit the following:

    Admin control panel -> Content -> BB code media sites -> Audio

    Change the following to your own forum URL:

    <iframe width="100%" height="66" scrolling="no" frameborder="no" src="https://example.com/data/files/audio/audio.php/?url={$id}"></iframe>

  5. Disable development mode.
How to use:
  1. Create a new post.
  2. Attach a MP3 file.
  3. Copy URL of the attached.
  4. Paste URL into message.
  5. Save post.
Question and Answers:

Q: Is there a way to setup certain tags to autoplay?
A: No.
Author
AndyB
Views
2,346
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from AndyB

Latest updates

  1. See description

    Audio v1.3 changes: Updated BB code media site code.
  2. See description

    Audio v1.2 changes: Increased the height of the audio player.
  3. See description

    Audio v1.1 changes: Updated BB code media sites.
Back
Top Bottom