Image Teasers also supports video autoplay.
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 player GUI is hidden.
In the Admin Panel, it is possible to upload .mp4 file to Magento 2 media explorer or provide video url. Accepted services: YouTube, Vimeo, Facebook, File (mp4).
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 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 consent for specific video player, the video won't play and image will be displayed as fallback. This default behaviour can be changed by 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 same aspect ratio of the image as the one of added video.
Video Teasers are supported in following CC components:
Hero Carousel
Image Teaser (2.0)
Product grid
Magento Products grid
Teaser and text
Mosaic
In order to minimize the amount 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.
Add Comment