Dynamic text is text that automatically changes based on the asset you are viewing. For example, you share a series of videos by different directors, and the director's name changes to match the video you are watching.

By using the dynamic text feature, you can easily display asset descriptions, file names, dimensions, and any custom metadata you have already entered in your Shift project. To set up your dynamic text, you need two basic building blocks, or "elements,": a text box to display the text and a source that displays your playlist. A playlist is a collection of videos, images, or other files. For more information on creating a playlist, please see our article Create Shareable Playlists in Spotlight.

In this article, we will walk you through setting up dynamic text, including how to:

Dynamically Display an Asset's Title and Description

To display an asset’s title and description using dynamic text, start by adding a text, paragraph, and video element from the Elements panel.

Add Text, Paragraph, and Video elements to your page.

Then, apply one of your video playlists by dragging the playlist onto the video element.

Apply a playlist to the video element.

Click on the text element and open the properties panel on the right. The first tab of the properties panel displays your text settings, such as color, font, and size. To enable dynamic text, go to the second tab of the properties panel to access the Dynamic Content section.

Access the Dynamic Content section of the properties panel.

Here, you will select the source of your dynamic text. You can link dynamic text to either a stage element or a video element. In this case, select Video from the source menu. Then, select the name of the video element that contains your playlist.

Link your text to the video player.

The text box is now linked to your video. Next, you can choose the asset information or metadata you wish to display.

A list of variables, such as Date Created and Duration, appears under the Source and Element section. Click “Title” to dynamically display the asset’s title. The word “Title” will appear in curly brackets on the page. You can delete the placeholder text “Change text.”

Add {Title} to the text element and delete placeholder "Change Text."

Now, when you deselect the text box, your asset title will automatically appear. Your audience will only see the title itself; they will never see the variable ("Title") displayed in curly brackets.

To display your asset description, follow the same steps:

  • Select your paragraph element.

  • Go to the Dynamic Content section of the properties panel.

  • Link the paragraph to your video element.

  • Choose “Description” from the list of variables.

  • Remove the placeholder “Lorem ipsum” text from the text box.

Now, when your audience watches the videos in your playlist, the text fields will update automatically to display the title and description of the video that is currently playing.

Asset title and description displayed dynamically.

Dynamically Display Your Custom Metadata

In addition to the variables listed in the Dynamic Content section, you can display your own custom metadata that appears in your Shift project. The videos in this example include custom metadata for Client, Director, and Editor.

Asset metadata in a Shift project

To dynamically display director names, start by adding a new text element to your page and linking the text box to the video player as described above. Instead of selecting "Title" or "Description" from the list of variables, choose {MetadataKey:KEY} from the bottom of the list.

Add {MetadataKey:} to your text element.

The text box now includes "{MetadataKey:}." Enter your custom metadata field between the colon and the second curly bracket, e.g., "{MetadataKey:Director}."

Enter your custom metadata key.

When you click outside the text box, the director's name is now displayed.

Custom metadata is displayed dynamically.

Did this answer your question?