Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The video will play once the image - teaser is visible on the page and pause when the customer scrolls the page and image - teaser is no longer visible. The sound is muted and the player GUI is hidden.

...

In the Admin Panel, it is configure the component The component allows using video assets via

  • uploading a .mp4 file to Magento 2 media explorer

  • providing a video URL while the video is hosted on YouTube

  • providing a video URL while the video is hosted on Vimeo

  • providing a video URL while the video is hosted on Facebook

Video autoplay has built-in support for Consent Management (Usercentrics). The consent for one of : YouTube Video, Vimeo or Facebook Videos is required in order to load that specific third-party player. Consents can be added or changed by the developer. Videos uploaded to Magento 2 media explorer don't need consent and will always autoplay.

If no Consent Management tool is used or the user didn't accept the consent for a specific video player, the video won't play and the image will be displayed as a fallback. This default behaviour behavior can be changed by the developer (meaning all videos will play even if the user didn't accept any consent).

Image is required and the video will fit its width and height. We recommend using the same aspect ratio of the image as the one of added videovideos.

Video Teasers are supported in the following CC components and places:

In order to minimize the amount number of resources downloaded we recommend using one third-party player per page, or even better in the whole shop, for example: using only YouTube videos.

...

After the video asset is selected, you can use the configuration options from the “CONTENT” and the “STYLE” tabs that are already known from the 2.1.6. Image Teaser (2.0) section.

...