Block: Video

From Posstack.com Documentation
Revision as of 05:40, 12 November 2024 by An (talk | contribs) (→‎Connect Youtube links to a dynamic source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

The Video section makes it easy to add horizontally and vertically oriented videos to your page. You can upload your videos or insert the video URLs.

Video use cases

For the vertical videos (for the Pro plan only), you can add Tiktok, YouTube Shorts, Vimeo, Instagram Reels.

It's great to feature product launch videos, featured announcements, UGC and unboxing videos, customer reviews, etc.

Ecb-vertical-videos.jpgEcb-video-demo.png

See video section examples here, here, or here.

You can also upload local videos to host them on your Shopify store, with the option to set them to autoplay and loop by default. However, this is optional.

Ecb local videos.jpg

How to add Video section

  • Step 1: Add a Section Settings section that allows you to control the global settings of the Video section.
In this special section, you can specify multi-column layouts, activate full width, determine the section's maximum width, choose a background color, and set global margins and padding, among other options.
Note: If you include the Video in the core product information, skip the step for adding Section Settings. Just add the Video. Ecb add section core product info.jpg
  • Step 2: Add a Video section and customize the settings according to your preferences.
Block video.png
If you are new to our Easy Content Builder, please take a look at the Add Sections section for detailed instructions on how to add a section to your theme.

Video section settings

From the Shopify theme editor, click on Video on the sidebar to view the details of settings.

Section settings Description
Specify a Video URL Add your YouTube or Vimeo links.

Ex. To add a YouTube short (the portrait-mode videos), append your video ID to this URL: https://www.youtube.com/watch?v=

Here's an example of our demo: https://www.youtube.com/watch?v=Wksv_21Elvw

Tiktok Video ID Enter your Tiktok Video ID
Instagram Video ID Enter your Instagram Reel ID
Aspect ratio Set the horizontal or vertical video.
Show Instagram Caption Show/hide Instagram Caption
Local Video Select the video to upload if you want to host it on your Shopify.

Available settings for the Local Video:

  • Controls: Shows video controls.
  • Autoplay: Starts playing the video as soon as it's ready. (Note: Some browsers may need the video to be muted for automatic playback.)
  • Muted: Mutes the audio output of the video.
  • Loop: Restarts the video every time it finishes.
Container Max Width Define the maximum width (in pixels) of the video's container.
Animate On Scroll This feature is only available for the Pro plan. It lets you apply different types of animation to the videos as you scroll down the page. Learn more about scrolling animations here.
Margin Set the vertical spacing between elements.

Connect Youtube links to a dynamic source

If you're looking to link a YouTube video to a dynamic source, the current Video section doesn't support that functionality.

As an alternative, consider using the Icons With Text section. This option enables you to incorporate video links using metaobjects, allowing videos to play in a modal when users click on the video thumbnail. Please keep in mind that this feature is exclusive to the Pro plan.

Example: check out this dynamic source feature (using a metaobject) and the modal link here (Refer to Use Case #7).

Setup guide:Ecb-dynamic-source-videos.jpgFor guidance on creating a metaobject to store your YouTube link and connect it to the Icons With Text section through a dynamic source, take a look at this guide.

Add other content blocks

You can add many content blocks to a section you've created. These content blocks will be displayed in different positions within the section, depending on the Desktop/Mobile Layouts you configure.

Ecb-block-v2.jpg

See all content blocks available that you can add to a section.