Video

Use the Video content type to add a video that is hosted on YouTube or Vimeo to the stage. It’s easy to embed video in a page or block, as well as in product and category descriptions.

Video on Home Page

To add a video

  1. Before you begin, navigate to the YouTube or Vimeovideo that you want to embed, and copy the URL from the address bar.

  2. In the Magento Admin, return to the Page Builder workspace where you want to add the video.

  3. In the Page Builder panel under Media, drag a Video placeholder to the stage.

    Drag Video Content Type to Stage

  4. Hover over the video container. Then in the toolbox, choose Settings ( ), and do the following:

    Video Toolbox

    • Paste the URL of the video that you copied into the  Video URL field.

      The URL of the Page Builder video that is featured in this example is:https://www.youtube.com/watch?v=Y0KNS7C5dZA.

    • To limit the Maximum Width of the video, enter the maximum width in pixels.

      If blank, the video will be as wide as allowed by the container, less margins and padding.

    • Update the remaining settings as needed, using the field descriptions at the end of this page for reference.

  5. In the upper-right corner, tap Save to close the Edit Video page and return to the Page Builder workspace.

To change video settings

  1. Hover over the video container. Then in the toolbox, choose Settings ( ), and do the following:

    Video Toolbox

    • To change the current video, update the Video URL.

    • To change the width of the video, enter the new Maximum Width in pixels.

    • Update the remaining settings as needed, using the field descriptions at the end of this page for reference.

  2. In the upper-right corner, tap Save to close the Edit Video page and return to the Page Builder workspace.

To move a video

  1. Hover over the video container. Then in the toolbox, choose Move ( ).

    Move Video

  2. Hold down the mouse button, and drag the video to the new position, just below the red guideline.

    Red Guideline Above Target Destination

To remove a video from the stage

  1. Hover over the video container. Then in the toolbox, choose Remove ( ).

  2. When prompted to confirm, tap OK.

Video Toolbox

TOOL Icon Description
Move Moves the video to another position on the stage.
(label) VIDEO Identifies the current content container as a video. Hover over the video container to see the toolbox.
Settings Opens the Edit Video page, where you can change the properties of the video and container.
Hide Hides the current video.
Show Shows the hidden video image.
Duplicate </h3> Makes a duplicate copy of the video.
Remove Deletes the video from the stage.

Video Settings

Setting Description
Video URL The URL of a video that is hosted on either YouTube or Vimeo. The URL can be copied from the address bar of the browser, and pasted into the Video URL field.
Maximum Width Specifies the maximum width in pixels, that is allowed for the video in the storefront. If blank, the video extends the full width of the container, less allowance for margins and padding.
Advanced
Alignment Determines the horizontal alignment of the video. Options:
DefaultApplies the alignment default setting that is specified in the style sheet of the current theme.
LeftAligns the video along the left border of the parent container, with allowance for any padding specified.
CenterAligns the video in the center of the parent container, with allowance for any padding specified.
RightAligns the video along the right border of the parent container, with allowance for any padding specified.
Border Determines the border style that is applied to all four sides of the video container. Options:
DefaultApplies the default border style specified by the associated style sheet.
NoneDoes not provide any visible indication of the container borders.
DottedThe container border appears as a dotted line.
DashedThe container border appears as a dashed line.
SolidThe container border appears as a solid line.
DoubleThe container border appears as a double line.
GrooveThe container border appears as a grooved line.
RidgeThe container border appears as a ridged line.
InsetThe container border appears as an inset line.
OutsetThe container border appears as an outset line.
Border Color Determines the color of the container border. Specify the color by choosing a swatch, clicking the color picker, or by entering a valid color name or equivalent hexadecimal value.
Border Width Determines the width in pixels of the container border.
Border Radius Specifies the size of the radius used to round each corner of the border.
CSS Classes Specifies the names of CSS classes from the current style sheet which apply to the container. Separate multiple class names with a space.
Margins and Padding Determines the size, in pixels, of the outer margins and inner padding of the video container. Enter the corresponding values in the diagram. Options:
MarginsThe amount of blank space, in pixels, applied to the outside edge of all sides of the container. Options: Top, Right, Bottom, Left
PaddingThe amount of blank space, in pixels, applied to the inside edge of all sides of the container. Options: Top, Right, Bottom, Left