Adding Components to an In-Page Experience

Product(s)
Gallery
Role(s)
Studio User
Task(s)
Create an In-Page Experience

In this topic you will learn how to add components to an in-page experience.

Components can be added to an in-page experience allowing you to customize and brand the experience. To add components to an in-page experience, edit the experience and then click LAYOUT in the left navigation.

Click the plus icon () where you want to add a component and then select the type of component to add.

The following types of components can be added:

Note: After making any changes to an experience, make sure you republish the experience so the changes appear on sites that display the experience.

To add an advertisement to an experience:

  1. Click Advertisement on the component picker.
  2. Enter a Name for the advertisement.
  3. Enter the Header Ad Code and Ad Unit Code. Header Ad Code will be shared across all advertisements in the experience.
  4. Select when the advertisement should be displayed.
  5. Click Save. The advertisement will appear on the experience.

Note: If you have an in-page experience with multiple ads, ensure that each Ad Unit Code has a unique div id. You may need to edit the id of the div and the container parameter of adblock1 to match that id.

Adding a chat component

A third-party chat widget can be added to an experience to provide chat capabilities. To add a chat component to an experience:

  1. Click Chat on the component picker.
  2. Enter a Name for the chat component.
  3. Enter the chat HTML code.
  4. Select when the chat should be displayed.
  5. Click Save. The chat will be rendered on the experience.

Adding a custom HTML component

Custom components can be used to add your own custom HTML to an experience. For example, if you have created a custom lead form using a marketing automation platform (MAP), the lead form HTML from the MAP can be added to an in-page experience using the Custom HTML component.

To add custom HTML to an experience:

  1. Click Custom on the component picker.
  2. Enter a Name for the HTML component.
  3. Enter the custom HTML to add to the experience.
  4. Select when the HTML should be displayed.
  5. Click Save. The HTML will be rendered on the experience.

If no HTML is entered, an HTML placeholder will be displayed.

Note: The Gallery authoring environment will strip scripts out of custom HTML components for security reasons. The scripts will run when the in-page experience is previewed and published. This could cause custom HTML components to look different, especially if they have a lot of JavaScript content.

Adding an image component

To add an image to an experience:

  1. Click Image on the component picker.
  2. Enter a Name for the image.
  3. To specify an image, you can:
    • Drag an image from the file system and then drop it on the drop area
    • Click browse and select an image from the file system
    • Enter the URL to a remote image file
  4. Set the image Size.
    • Image will resize to container - Images that are larger in size than the container they are in will be scaled down to fit. Smaller images will not be upscaled.
    • Width and Height - Manually enter a width and height for the image
  5. Set the image Alignment.
  6. Enter a Clickthrough URL. This is the URL to go to when the image is clicked. You can also Open link in a new window.
  7. Select when the image should be displayed.
  8. Click Save to add the image to the experience.

If no image is selected, an image placeholder will be displayed.

Adding a text component

To add text to an experience:

  1. Click Text on the component picker.
  2. Enter the text to add to the experience. The toolbar can be used to format the text.
  3. Enter a Name for the text.
  4. Select when the text should be displayed.
  5. Click Save to add the text. The text will appear on the experience.

If no text is entered, a text placeholder will be displayed.

Adding a 3Play component

3Play components can be used to add a 3Play interactive transcript to an experience. This component will only work if your video captions were generated by 3Play Media. When this component is added to an experience, a Show Interactive Transcript link will appear. When clicked, the video transcript will appear. In the following example, a 3Play component was added below the video player and was configured to appear during the Playing state.

For a live example, see this link and play a video.

Note: To have the 3Play component enabled for your account, contact your account manager or Brightcove Support.

To add a 3Play component to an experience:

  1. Click 3Play on the component picker.
  2. Enter a Name for the 3Play component.
  3. Enter your 3Play Project ID. To find your 3Play Project ID, login to your 3Play account and click the Account Overview link in the page header. The Project ID will appear on that page.
  4. Select when the 3Play component should be displayed.
  5. Click Save to add the 3Play component. The 3Play component will appear on the experience.

Adding a Twitter Feed component

To add a Twitter Feed to an experience:

  1. Click Twitter Feed on the component picker.
  2. Enter a Name for the Twitter Feed.
  3. Create a widget on the Twitter site. For help on creating a Twitter widget, see the Twitter developer documentation.
  4. Copy the HTML for the Twitter widget and paste it into the Twitter Feed settings.
  5. Select when the Twitter Feed should be displayed.
  6. Click Save to add the Twitter feed. The Twitter feed will appear on the experience.