Vimeo App Installation Guide

Vimeo is a video-sharing platform that lets you upload, share, and view high-quality videos. It focuses on providing a creative community for filmmakers, artists, and professionals to showcase their work. Vimeo offers various tools and features to help creators manage and distribute content while maintaining a visually appealing and ad-free environment.

Contentstack Marketplace lets you install the Vimeo application and use it within your stack to fetch and display videos from the Vimeo account within your entries.

Prerequisites

Let's follow this step-by-step guide to install and configure the Vimeo app within your stack.

Steps for Execution

  1. Retrieve the Access Token from the Vimeo Account
  2. Install and Configure the Vimeo app in Contentstack Marketplace
  3. Use the Vimeo app within your Stack Entry
  1. Retrieve the Access Token from the Vimeo Account

    To get the access token for Vimeo, follow the steps given below:

    1. Log in to the Vimeo account using your Vimeo account credentials.
    2. Note: To add videos to your Vimeo account, click the Upload button. Then, on the next screen, you can drag-and-drop the videos, or click the Choose files button, select the videos, and add them to your account.

    3. Now, go to Vimeo’s developer page and click the + Create an app button at the top right corner.
      Vimeo-Account-Developer-Create-An-App
    4. Enter the App name and a Brief description of your app. Please note that these are mandatory fields. Then, choose who can access your app, accept the terms and conditions, and click Create App.
      Vimeo-Account-Developer-Create-App
      The app gets created successfully.
    5. Now, open your newly created app. Click the Authentication tab in the left navigation panel and select Generate Access Token.
      To get the access token, select the Authenticated (you) option. Under the Scopes section, select Private and click the Generate button.
      Vimeo-Account-Generate-Token
      The access token is now generated. Copy the Vimeo Access Token to your clipboard to use in Step 2.
      Vimeo-Access-Token
    6. Additional Resource: To learn more about access tokens in Vimeo, refer to the Generate an access token documentation.

  2. Install and Configure the Vimeo app in Contentstack Marketplace

    Follow the steps given below to install the application in Contentstack.

    1. Log in to your Contentstack account.
    2. In the left-hand side primary navigation, click the Marketplace icon to go to the Marketplace.
      Marketplace-Icon
    3. Click Apps from the left panel.
    4. Within the Marketplace, you can see all the available apps. Hover over the Vimeo app and click Install App.
      Vimeo-App
    5. In the popup window, select the stack where you want to install the Vimeo app, accept the terms and conditions, and click the Install button.
      Vimeo-Install-App
    6. On the Configuration screen, enter the following details:
      1. Vimeo Access Token: Enter the Vimeo Access Token retrieved from your Vimeo Account in Step 1.
      2. Choose the Vimeo Keys to Save in Entry: Choose how to save the data fetched from the Vimeo account in Contentstack entries.
        1. If you select the All Fields option, you can select only a limited number of videos in the entry.
        2. For Custom Fields, you can search and add specific Vimeo Keys you want to save in entries.

        Warning: When you change the settings from All Fields to Custom Fields, and vice versa, any existing assets will follow the old configuration settings, whereas newly added assets in the entry will store the data according to the updated configuration settings. This is applicable on Custom and JSON RTE fields.

        Vimeo-Configuration
        If you select Custom Fields then the Vimeo Keys dropdown appears. By default, uri, name, link, pictures.base_link, and description options are already selected inside the dropdown. If you want to create a new key, click the + New Key Field option.
        Vimeo-New-Key-Field
        In the Add Key Path modal, enter the Vimeo Key Path and click the Create or Create and Apply button to create a new key.
        Vimeo-New-Key-Field-Path
    7. Click the Save button.
    8. Click Open Stack to start using the Vimeo application.
  3. Use the Vimeo app within your Stack Entry

    Note: Before using the Vimeo application, you will need the following browser settings:

    • Pop-ups should be enabled.
    • Third-party cookies should be enabled.

    To use the Vimeo application within an entry of your stack, follow the steps given below:

    1. Go to your stack, click the Content Models icon in the left navigation panel, and click the + New Content Type button.
    2. Create a content type by adding relevant details as displayed below:
    3. There are two ways to use the Vimeo application in your entry:

      1. Custom Field
      2. JSON Rich Text Editor Field

      Steps to use the Vimeo application using a Custom field:

      1. In the Content Type Builder page, add a Custom field in your content type by clicking the Insert a field link represented by a + sign.
      2. Under Select Extension/App, select Vimeo, and click the Proceed button.
        Vimeo-Adding-App-In-Custom-Field
        Change the Display Name of the custom field to your choice, for example, Vimeo Custom Field. Optionally, you can add Help Text and Instruction Value for your custom field. This adds the Vimeo app in the custom field.
        Vimeo-Added-App-In-Custom-Field
      3. After adding the app in a custom field, click Save or Save and Close to save your changes.
      4. To use the Vimeo app, create an entry for this newly created content type. To do this, in the left navigation panel, navigate to the Entries page, click + New Entry to create a new entry for the above content type, and then click Proceed.
        You can see the Vimeo app’s custom field on your entry page as shown below:
        Vimeo-Custom-Field-Sample-Entry
      5. Click the + Choose Video(s) button.
        Vimeo-Custom-Field-Choose-Videos
      6. Select the video(s) from your Vimeo selector page and click the Add Videos(s) button to add them to your entry.
        Vimeo-Selector-Page-Added-Videos

        Note: You can add multiple videos in one go.

        You can search for videos on the Vimeo selector page.
        Vimeo-Selector-Page-Search
        Also, you can view the videos in a Comfortable or Compact view. By default, the Comfortable view is selected.
        Hover over the video on the Vimeo selector page, and you can see the Open in Vimeo option to go directly to the Vimeo platform.
        Vimeo-Selector-Page-Open-In-Vimeo
        The videos you insert get referenced within your entry in the thumbnail view, by default.
        Vimeo-Custom-Field-Added-Videos-View-Thumbnail
        To change the default view, select List from the drop-down menu as shown in the following screenshot:
        Vimeo-Custom-Field-Added-Videos-View-Options
        The videos you insert get referenced within your entry in the list view.
        Vimeo-Custom-Field-Added-Videos-View-List
      7. Hover over the video to access these features:
        1. Click the Reorder icon to drag and reorder the video.
        2. Click the Open in Vimeo icon to open the video on the Vimeo platform.
        3. Click the Remove icon to remove the video.

        Thumbnail View

        Vimeo-Custom-Field-Added-Videos-View-Thumbnail-Features

        List View

        Vimeo-Custom-Field-Added-Videos-View-List-Features
      8. After adding the video(s), Save and Publish your entry.

      Steps to use the Vimeo application using a JSON Rich Text Editor field:

      1. In the Content Type Builder page, add a JSON Rich Text Editor field in your content type by clicking the Insert a field link represented by a + sign.
      2. Under Select JSON RTE Plugin(s), select Vimeo, and then click Add Plugin(s).
        Vimeo-Adding-Plugin-In-JSONRTE
        This adds Vimeo in the JSON Rich Text Editor field.
        Vimeo-Added-Plugin-In-JSONRTE
      3. After adding the app in a JSON Rich Text Editor field, click Save or Save and Close to save your changes.
      4. To use the Vimeo app as a JSON RTE plugin, create an entry for this content type. You will see the Vimeo app icon inside the JSON RTE field in your entry page as shown below:
        Vimeo-JSONRTE-Sample-Entry
      5. Click the Vimeo app icon.
        Vimeo-JSONRTE-Click-App-Icon
      6. Select the video(s) from your Vimeo selector page and click the Add Videos(s) button to add them to your entry.
        Vimeo-Selector-Page-Added-Videos

        Note: You can add multiple videos in one go.

        You can search for videos on the Vimeo selector page.
        Vimeo-Selector-Page-Search
        Also, you can view the videos in a Comfortable or Compact view. By default, the Comfortable view is selected.
        Hover over the video on the Vimeo selector page, and you can see the Open in Vimeo option to go directly to the Vimeo platform.
        Vimeo-Selector-Page-Open-In-Vimeo
        The videos you selected get referenced within your entry:
        Vimeo-JSONRTE-Added-Videos
      7. To resize the video, drag the corner and adjust the size as required. Hover over the video to access these features:
        1. Click the Open in Vimeo icon to preview the video on the Vimeo platform.
        2. Click the Edit icon to edit the video.
        3. Click the Remove icon to remove the video.
        Vimeo-JSONRTE-Added-Videos-Features
      8. Additional Resource: You can use alignment and inline asset features to edit the video placement within the JSON Rich Text Editor field.

      9. After adding the video(s), Save and Publish your entry.
Was this article helpful?
^