Audio Recorder

Plugin Information

Demo to preview the plugin:

Introduction

The Audio Recorder plugin allows you to record, pause, and resume audio within your application. It offers controls to customize recording settings, file formats, and appearance, making it easy to integrate audio capture directly into your app. Users can start, pause, and stop recordings, and the files can be saved directly to Bubble or accessed via custom workflows for further use. With support for stereo or mono channels and customization options, this plugin is ideal for applications requiring user-generated audio content.
See Key Features:

Prerequisites

Before using the Audio Recorder Plugin, ensure the following:
  1. SSL-Enabled Domains: The plugin requires your application to run on domains using HTTPS (instead of HTTP).
  1. Browser and Device Compatibility:
      • iOS Devices: The plugin works only in Safari due to browser policies.
      • Mobile Devices: .m4a and .mp4 formats are not supported.
  1. Safari Limitations: Recording and saving long audio files are not permitted in Safari.
Image without caption

How to setup

Step 1: Install the Plugin
Step 2: Setup the Plugin Element

Plugin Element Properties

Audio Recorder

Image without caption
Fields:
Title
Description
Type
Recorder Audio Channels
How many channels should contain the audio file. If you will select β€œogg” format in Chrome, automatically will be used the β€œStereo”. Available options: Mono, Stereo
Dropdown
Format
The recorded audio format. The audio format that is saved depends on the browser being used. The β€œwebm” format is exclusively supported by Chrome, so if you choose it while using Firefox, the recorded audio will be saved in the default β€œogg” format of Firefox. Available options: wav, webm (Chrome), ogg (Firefox), mp3
Dropdown
Filename
(Optional) By default, the plugin saves a file named β€œaudio + current time”. Fill in this field to give your own name for the file
Text (optional)
Save to Bubble
If is checked, the recorded audio will be uploaded on the Bubble storage after stopping. Otherwise, it will be automatically saved on your device.
Checkbox (yes/no)
Limit recording time
(optional) The time limitation of audio recording in seconds. After indicated time, the recording will stop automatically.
Number (optional)
Recorder background color when recording is off
Backgroundoff
Color (optional)
Recorder color when recording is off
Coloroff
Color (optional)
Recorder background color when recording is on
Backgroundon
Color (optional)
Recorder color when recording is on
Coloron
Color (optional)
This element isn’t clickable
When checked, the element will not start/stop recording when clicked nor will the user’s cursor change to a pointer when they hover over the element. Elements actions still available through workflow.
Checkbox (yes/no)
β—’β—€ Make this file private
Attach this file to
Example value: Current User. Private files uploaded with this element are permanently attached to a thing, which is used to determine who has access to view the file.
User (optional)

Element Actions

  1. Start / Stop - Start and stop record
  1. Checking microphone support - Ensures that the user's device and browser allow access to the microphone for recording audio
  1. Pause / Resume -: Allows users to temporarily stop recording and then continue from where they left off without starting a new recording
  1. Cancel Recording - Cancel Recording without save
  1. Reset values: Clearing or reinitializing the plugin's state to its default settings

Exposed states

Title
Description
Type
Value
Value
File
Loading (recording)
Yes if loading, no if loaded
Checkbox (yes/no)
Loading (upload to AWS)
Yes if loading, no if loaded
Checkbox (yes/no)
Error Message
Error_message
Text
Access media
Is there browser access to media
Checkbox (yes/no)
File Size
The size of the recorded file in bytes
Text
Recording duration
Duration of the recorded file in seconds
Number
Audio source
Place it in Source field of Audio Element!
Text
Pause
Enable temporarily stop recording when checked
Checkbox (yes/no)
Safari device
When checked element would work on devices that uses safari
Checkbox (yes/no)
Upload file progress
Shows vsual representation of the status of a file being uploaded
Number
Logs
Recorded data or information
Text

Element Events

Title
Description
recording upload finished
when recording upload finished

Audio Element

Reference the Audio Recorder element you have on the page
Image without caption
Fields:
Title
Description
Type
Source
Audio recorder audio source
Text (optional)
Image without caption

Changelogs