Contents

Cancel

Recommended Articles

  1. unify-apps

    Indexing

    Unify AI

    Transform raw content into searchable knowledge through AI-powered indexing and vector embeddings

  2. unify-apps

    Snowflake as Destination

    Unify Data

    Load and transform your data seamlessly into Snowflake's cloud data warehouse with UnifyApps' native connectivity and flexible staging options.

  3. unify-apps

    Quentn

    Unify Integrations

    Integrate your app with Quentn to automate marketing campaigns, manage contacts, and optimize customer engagement.

  4. unify-apps

    Connector SDK

    Platform Tools

    Create custom connectors within the Unify platform to unify workflows

  5. unify-apps

    JobNimbus

    Unify Integrations

    Integrate your application with JobNimbus to manage leads, track jobs, and streamline your workflow processes efficiently

  6. unify-apps

    IMAP

    Unify Integrations

    Integrate your app with IMAP to enable seamless email synchronization, real-time access, and enhanced communication workflows.

  7. unify-apps

    Basin

    Unify Integrations

    Basin transforms form handling from a backend headache into a simple integration—capture submissions, trigger automations, and manage data flows without touching server code, giving you more time to build what matters

  8. unify-apps

    Preview Your Work

    Unify Automations

    Effortlessly review & monitor your automation’s performance

  9. unify-apps

    QuickBooks

    Unify Integrations

    Integrate your app with QuickBooks to streamline accounting, automate invoicing, and manage finances effortlessly

  10. unify-apps

    FTP/FTPS

    Unify Integrations

    Connect your app with FTP/FTPS to automate secure file transfers and streamline data exchange across systems.

  11. unify-apps

    Data-Sync by Avoid Duplicate Operations Setting

    Unify Data

    Prevent infinite loops in bidirectional data synchronization by creating record hashes that ensure one-way data flow across connected systems.

  12. unify-apps

    Filters

    Unify Applications

    Enable users to refine, search, and sort data effortlessly across dashboards and datasets

  13. unify-apps

    Insided

    Unify Integrations

    Integrate your app with Insided to enhance customer engagement, streamline community management, and drive self-service support.

  14. unify-apps

    Reverse Polling

    Unify Data

    Reverse Polling technique efficiently retrieves recent data from APIs that return results in chronological order (oldest first), optimizing pagination and data processing strategies when working with time-ordered data sources.

  15. unify-apps

    Facebook Ads

    Unify Integrations

    Connect your app with Facebook Ads to automate campaign management, optimize ad performance, and track marketing success.

  16. unify-apps

    Duplicate Field

    Unify Integrations

    Create independent copies of your data fields to enable multiple mappings while preserving original values for validation and complex workflows.

  17. unify-apps

    Gainsight

    Unify Integrations

    Integrate your app with Gainsight to enhance customer success, automate engagement workflows, and drive retention

  18. unify-apps

    Simplesat

    Unify Integrations

    Integrate your app with Simplesat to collect real-time customer feedback, measure satisfaction, and improve service quality.

  19. unify-apps

    Livestorm

    Unify Integrations

    Integrate your app with Livestorm to streamline webinar hosting, automate event management, and enhance audience engagement.

  20. unify-apps

    Application Connectors

    Unify Data

    Instantly leverage 30+ pre-built application connectors to extract, transform, and load your business-critical data between systems with UnifyApps' no-code integration platform.

Unify Integrations
Logo
Add Components to your Interface
Logo
Media

Media

Logo

3 mins READ

Overview

The Media component helps you visually present files like images, videos, or audio within your application. It supports both static and dynamic data sources, making it flexible for showcasing galleries, media lists, or any visual content from external links or data collections.

By configuring its properties, you can control the layout, appearance, and behavior of media elements to create a rich user experience.

Image
Image

Standard Actions

Content

The Media component provides several options to customize the media presentation.

Type


Define how you want to add media to your component:

Property

Description

Mapped

Add media dynamically from a data source as shown in the image below.

Static

Add media manually using an array of URLs. For example ({{ [ "Link1", "Link2", "Link3"]}}

Data

Provide URLs or a data source to populate the component with media items.

Property

Description

Mapped

Add media dynamically from a data source as shown in the image below.

Static

Add media manually using an array of URLs. For example ({{ [ "Link1", "Link2", "Link3"]}}

Mapped Media

Dynamically link and display media based on your data source.

Fields to configure:

Property

Description

ID

Unique identifier assigned to each media item for tracking and referencing.

Name

Descriptive label or title to easily recognize the media file.

URL

Direct path to access and render the media file (image, video, or audio).

Caption

Brief text providing context or description of the media.

MIME Type

Specifies the format of the media file (e.g., image/jpeg, video/mp4) to ensure correct handling.

Loading

Indicates the loading state of the media while it is being fetched, improving the visual experience.

Image
Image

Appearance

  1. Display:  Choose how the media items are presented:

    • List: Display media in a vertical list format for a more detailed view.

    • Grid: Arrange media in a grid layout for a clean, organized look.

  2. Variant: Select the spacing style for your media layout

    • Spacious: Enlarges the images, creating a more open and airy layout.

    • Compact: Arranges media items closely for a condensed view.

  3. Size : Adjust the dimensions of the media items for optimal display.
    (For example: xs, sm, md, lg)

  4. Maximum Visible Items : Set the maximum number of media items to be displayed at once.

  5. Show Caption : Enable to display captions alongside the media for additional context.

Image
Image


Above showing different types of appearance media component can be used for.

Typical Use Cases

  • Display product images in an e-commerce application.

  • Show user profile pictures in a contact or employee directory.

  • Embed promotional or tutorial videos in your app.

  • Render document previews (PDFs, images, etc.)

  • Showcase banners, ads, or dynamic posters.

FAQs

Can I use both images and videos in the Media component?

Yes, the Media component supports multiple media types including images, videos, and audio files. Make sure to specify the correct MIME Type for proper rendering.

What happens if the media URL is broken or the file is missing ?

It’s recommended to provide a fallback image or meaningful caption to handle missing or broken media gracefully.

Can I map media dynamically from my data source?

Yes, you can select Mapped type and bind fields like URL, Name, Caption, and MIME Type directly from your data source.

How does the "Loading" property improve performance?

The "Loading" property allows you to show a placeholder while the media is being fetched, enhancing user experience and preventing empty spaces during loading.