Audio

XF2 Addons Audio 1.3
Adds Audio BB code media.

Compatible versions
2.0, 2.1, 2.2, 2.3
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.
shanruto
Author shanruto
Level
10
4,635 pts
1.3 Version
6 Downloads
455 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from shanruto

Top Bottom