Facebook Style GIF Preview

Demo to preview the plugin:

Introduction

Looking for Facebook-style GIF preview elements for your Bubble app? Use this handy no-code plugin! Simply place the element on the page, choose a data source, and you’re all set.
Image without caption

How to setup

  1. Add the GIF Preview Element:
      • Drag the GIF Preview element from the plugin section in the Bubble editor to your page.
      • Customize settings: Adjust its size, placement, and behavior in the editor as needed.
      Element β†’ GIF Preview.
      Element β†’ GIF Preview.
      • Usage:
        • Link it to a GIF file.
        • Use workflow actions to control playback.

      Configure Actions and Events:

      Events

    1. A GIF Preview GIF Play
        • Trigger: This event is triggered whenever a GIF starts playing.
        • Use Case: Useful for tracking when a GIF starts or for initiating other workflows upon playback.
    2. A GIF Preview GIF Stop
        • Trigger: This event is triggered whenever a GIF stops playing.
        • Use Case: Useful for workflows like resetting the interface or logging user interactions.

      Actions

    3. Play GIF A GIF Preview
        • Description: Starts playing the GIF linked to the GIF Preview element.
        • Usage: Add this action in a workflow to dynamically play a GIF.
    4. Stop GIF A GIF Preview
        • Description: Stops the playback of the GIF in the GIF Preview element.
        • Usage: Add this action in a workflow to dynamically stop a GIF.

Plugin Element Properties

Gif Preview

Element properties.
Element properties.
Fields:
Title
Description
Type
Autostart
Show gif with autostart.
Checkbox (yes/no)
Gif source
The gif link
Image
Button Color
Setting the background color for the button.
Color (optional)
Button radius
Setting the radius for the button.
Number (optional)
Keep aspect ratio
The measures will be set depending on the gif’s proportions to maintain its quality.
Checkbox (yes/no)
Border Color
Setting the color for the border.
Color

Element Actions

  1. Play GIF - Action to play a gif.
    1. Workflow action.
      Workflow action.
  1. Stop GIF - Action to stop a gif.
    1. Workflow action.
      Workflow action.

Element States

Title
Description
Type
Is Playing
Here the plugin setting is kept
Checkbox (yes/no)
Is_hover_recently
Indicates if the user has recently hovered over the element.
Checkbox (yes/no)

Element Events

Title
Description
Gif Play
Function of play a gif
Gif Stop
Function of stop a gif
Image without caption

Changelogs