Hi, here I'm going to share how to use add a custom thread field for users to upload MP3 files that users can play in threads.

For this tutorial, a single custom thread field is necessary.

xThreads Field
Next step would be us creating and configuring our xThreads field. We are going to create a file field using the following details:

  1. Key: files_audio_mp3
  2. Input Field Type: File
  3. Valid File Extensions: mp3
  4. Maximum File Size: 5000000 for 5 Megabytes
  5. Allow multiple values for this field: Yes It is advised to never change this setting once the field is created.
  6. Maximum Number of Values: 10 Maximum number of files to be allowed to be uploaded. Can be changed after creating the field.
  7. Multiple Value Delimiter: (space)
  8. Display Item Format:
    <audio controls>
        <source src="{URL}" type="audio/mpeg">
        Your browser does not support the audio element.
    </audio>
  9. Save the field.

Any option not mentioned is to be configured as you see fit.

Attached Files

Thumbnail(s)