Audio Player for Bubble Mobile

Demo to preview the plugin:

Introduction

This audio player plugin is perfect for any mobile app built with Bubble's mobile editor. It features high-quality, interactive audio experience, seamless audio playback with key features such as autoplay, looping, and customizable media information like song title, artist, and artwork as well as intuitive controls for play, pause, seek, mute, and track navigation. With exposed states like current time, duration, and track index, users can track playback progress easily. The plugin supports essential events and actions like play, pause, change track, mute/unmute, and more.
Image without caption

How to setup

  1. Place Audio Player element and 4 buttons on the page
    1. Image without caption
  1. Configure element with a list of audio files from project’s data base
    1. Data base
      Data base
      Audio Player Settings
      Audio Player Settings
  1. Configure each button with workflow and condition:
    1. Play Button

      Mute Button

      Previous Track

      Next Track

  1. Basic configuration is ready, preview the page to test

Plugin Element Properties

Audio Player

Image without caption
Fields:
Title
Description
Type
Audio Source
The audio track(s) to be played, provided as a single URL or a comma-separated list of URLs.
Text
Loop
Specifies whether the current track should loop continuously.
Checkbox (yes/no)
Enable Autoplay Audio List
Determines if the player should automatically play the next track in the list when the current track ends.
Checkbox (yes/no)

Element Actions

  1. Change Track - Switches to the specified track in the playlist and starts playback.
    1. Image without caption
      Title
      Description
      Type
      Track Index
      The index of the track to play.
      Number
  1. Mute - Mutes the audio playback.
    1. Image without caption
  1. Unmute - Unmutes the audio playback.
    1. Image without caption
  1. Toggle Mute - Toggles the mute state of the audio playback.
    1. Image without caption
  1. Play - Starts playback of the current track if it is not already playing.
    1. Image without caption
  1. Pause - Pauses playback of the current track if it is playing.
    1. Image without caption
  1. Toggle Play/Pause - Toggles between play and pause states for the current track.
    1. Image without caption
  1. Seek - Adjusts the playback position of the track to the specified time.
    1. Image without caption
      Title
      Description
      Type
      Time
      The time (in seconds) where you want to seek in the audio. Example: 30 (seeks to the 30-second mark)
      Text

Exposed states

Title
Description
Type
Play
Indicates whether the audio is currently playing.
Checkbox (yes/no)
Pause
Indicates whether the audio is currently paused.
Checkbox (yes/no)
Current Track Index
The index of the currently playing track in the playlist.
Number
Current Time
The current playback time of the audio, in seconds.
Number
Duration
The total duration of the current audio track, in seconds.
Number
Mute
Indicates whether the audio is muted.
Checkbox (yes/no)
Error Message
A message that contains details about the error encountered during audio playback or operations.
Text

Element Events

Title
Description
Play
Triggered when the audio starts playing.
Pause
Triggered when the audio is paused.
Ended
Triggered when the audio finishes playing.
Image without caption

Changelogs