🔥 Just Launched! Werra Premium Template for HyväSee it in Action

Solved: Product Video Not Working in Magento 2

By Kishor ChhuganiUpdated on May 22, 2025 3 min read

According to Google, 55% of consumers use videos for purchase decisions.

Video content has more ability to engage with the audience of all age groups and personas. A product video is an effective tool to demonstrate your product, particularly when a consumer cannot check it physically while buying from an online store.

Increase the conversion rate with the use of product videos that helps potential customers understand the features of your product and other useful information.

Moreover, Google favours a page with the product video included in the product page as it enhances the user experience.

Video content is likely to be shared and clicked more often than a text. It is because watching a video requires fewer efforts than reading long product descriptions!

The default Magento 2 allows adding videos to the product page.

Screenshot-at-December-3rd-2020-11.26.07-am

However, sometimes, it may happen that in spite of adding product video from the admin panel, it is not displayed in the frontend. Only the video preview image is shown as:

Video Preview Image

Follow the below method for the solution to this issue.

Solution for Product Video Not Working in Magento 2:

1. Open catalog_product_view.xml from your theme folder resided at  app/design/frontend/vendor/theme/Magento_Catalog/layout/catalog_product_view.xml

2. Inside the catalog_product_view.xml file, search for the container Name “product.info.media“.

3. Now add the below code under “product.info.media” container

<block class="Magento\ProductVideo\Block\Product\View\Gallery" name="product.info.media.video" after="product.info.media.image" template="product/view/gallery.phtml"/>

“product.info.media” container will look like below xml after updating:

1. At last, refresh the Magento 2 cache and you should get the product video in product detail page in the frontend.

Product video in Magento 2 store product page

Also, do share the solution with Magento Community via social media.

Thank you.

Kishor Chhugani Full Image
Article byKishor Chhugani

He is a Magento developer at Meetanshi with a jolly, extrovert, & friendly personality. He loves playing cricket and is a passionate foodie!