How to Install Product Video in Magento 2

Hello Everyone,

In this blog, we will learn how to install a Product Video extension in Magento 2.

This extension enables store owners to upload YouTube videos to product pages. Admins can upload video files or YouTube URLs, supporting formats like MP4, FLV, and MPEG. It allows the embedding of various media types, making it a robust tool for effective communication. Magento product videos provide customers with a comprehensive view of products before purchase.

Don’t waste your time, let us guide you straight away. Follow the easy steps below to install and configure a Product Video extension.  

 Why Magecurious Product Video? 

  • The admin can  Enable/Disable the module.
  • Upload YouTube Video to Product Page.  
  • Upload Either the Video File or the Video URL. 
  • Add Video from Admin.  
  • Video will be shown Either Globally, Category-wise, or Product-wise.
  • Compatible With 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x

Steps to Install Product Video In Magento 2

STEP 1: Extract the downloaded extension package in your Magento root folder using FTP(File Transfer Protocol) Tools. To verify the root folder, you can see some folders inside the Magento root folder like app, bin, lib, PHP server vendor, etc.

STEP 2: Next, you need to run some Magento commands to install the extension in your system, so connect with your server via SSH go to the Magento root folder (e.g: cd /var/www/html/magentp243), and run the below commands one by one.

  • php bin/magento setup: upgrade 
  • php bin/magento setup:static-content:deploy-f  
  • php bin/magento indexer: reindex  
  • php bin/magento cache: clean  
  • php bin/magento cache: flush  
  • chmod-R 777 var/ pub/ generated/

STEP 3: If all your commands run successfully, then login to your system Admin Panel and go to Store > Configuration, if you see a new Tab in the left sidebar with the MageCurious Logo, it means the extension was installed successfully.

Steps To Connect Product Video With Magento 2.

STEP 1:- To Configure Extension, go to Stores > Settings  > Configuration > Magecurious > Product Video Tab > Configuration. 

Product Video: Enable or Disable the Product Video Extension.

STEP 2:-  Add New Video file 

  • To Add a new Video file go to Product Video from Admin Grid Select Manage Product Videos and click on Add New File Button. 
  • Video Title: Set the Title for New Video. 
  • Media Thumb: Upload Image this image can be shown in the Manage Video Section. 
  • Video Select: Select Either a Video File or a Video URL. 
  • Video File: If a Video File is selected you can upload a Video File. 
  • Video URL: If the Video URL is selected you can set the YouTube Video URL. 
  • Store View: Select Store View. 
  • Apply To: Select either Global, Category, or Product ID, based on the selected option video will be added on the front end. 
  • Select Category: If the Category option is selected from the redirect then you can select a category to display the video category-wise. 
  • Enter Product ID: If the Product ID option is selected from the redirect then you can enter product ID to display video product ID. 
  • Comment: Set the Comment for that Video.

STEP 3:-  Manage Added Videos

  • To Manage Video file go to Product Video from Admin Grid and Select Manage Product Videos. 

STEP 4:-  Redirect to Configuration Setting  

  • To redirect to the configuration setting from the admin grid go to Product Video from the Admin Grid and Select Product Videos Configurations. 

STEP 5:- Frontend view of added Videos

  • You can see videos uploaded from the admin on the frontend product video page under the Product Video Tab.

Note:

  • If the Product Video Tab is not shown on the Magento Commerce Version then follow the below steps:  
  • Go to catalog -> Products -> -> Design Layout -> No layout updates Display Product Options In -> Product Info Column 

Note:

If the Video URL is selected then add the video URL in the following way:  

  • Open YouTube Video -> click on Share -> go to Embed Video. 
  • and Select Only video URL and paste this URL in video URL field

Ex: https://www.youtube.com/embed/ZK-rNEhJIDs?si=PuR0rmfL_uWaSj0X

Final Thoughts:   

This was the easiest way we told you in this blog. This is how you can install a Product Video in Magento 2. Hope you liked the blog.  

So quickly go to the comment box and tell me how you like this blog.

Stay tuned to our site to get new updates on Magento.

Thanks for reading and visiting our site.

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

Leave a Reply

Your email address will not be published. Required fields are marked *