How to upload Product Videos in Magento 2 - Youtube API Key

How to upload Product Videos in Magento 2 - Youtube API Key
Drive 20-40% of your revenue with
email, SMS marketing
avada email marketing

To help your products be more attractive and lively, Magento 2 allows uploading individual video for any product you need. Watching Magento product video will bring a truly overview of your product to customers before purchasing. The more visual product, the more sales is created by the clients.

Thus, creating a product video is more effective than a thousand of pictures you show on the product page. The video can be uploaded from your browse or you can embed the Youtube link to the product settings. To do that, you must get an API Key from your Google account and insert it in the configuration.

The required steps you should follow are listed clearly in this tutorial.

To upload Product Videos in Magento 2

Step 1: Get Your YouTube API Key

  • Log in to your Google account, and visit the Google Developers Console. Then, follow these:
    • Under Use Google APIs, click Youtube Data APIs. google api
    • Click on Manage manage
    • In the panel on the left choose Credentials, click on Create Credentials and choose API key. create
    • When prompting to create a new key, choose Server key. Enter a name for the key and IP address, and click on Create.
  • After you get the key, copy the key to the clipboard. youtube key

Step 2: Configure in Magento

  • On the Admin Sidebar, Stores > Settings > Configuration.
  • In the panel, under Catalog, choose Catalog.
  • Expand the Product Videos section, paste Youtube API key into the required field.

How to upload Product Videos Add API key

  • From the Product Detail, click on Add Video in the Images and Videos.

How to upload Product Videos Add Video

  • Enter the URL of the YouTube or Vimeo video. In the URL field, if you haven’t entered Youtube API key yet, the system error message will appear, click on OK to continue.

How to upload Product Videos Error Message

  • Enter the Title and Description of the video.
  • To upload a Preview Image, browse to the image and select the file.
  • If you prefer to use the video meta data, click on Get Video Information.
  • To assign the role to the video, mark the corresponding checkbox of each Role:
    • Base Image
    • Small Image
    • Swatch Image
    • Thumbnail
    • Hide from Product Page
  • When complete, click on Save.

How to upload Product Videos Product Video

Related Topics:

Increase sales,
not your workload

Simple, powerful tools to grow your business. Easy to use, quick to master and all at an affordable price.

Get Started
avada marketing automation

Comments for How to Upload Product Videos

Explore Our Products:

People also searched for


Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

go up