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

magento-2-tutorial
how-to
upload
product
videos

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.

Upload Product Videos:

  • Step 1: Get Your YouTube API Key
  • Step 2: Configure Magento
  • Step 3: Link to the Video

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.
    • In the panel on the left choose Credentials, click on Create Credentials and choose API key.
    • When prompted 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.

Step 2: Configure 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

  • Click Save Config.
  • Go to Cache Management to refresh the cache.
  • From the Poduct 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

Ref: Magento 2 User Guide

Please leave comments if you have any questions, feedbacks.

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

You also may like these Magento 2 Extensions

One Step Checkout

$199
17 reviews

Layered Navigation

$149
7 reviews

Affiliate

$149
7 reviews

FAQ

$149
10 reviews

Zoho CRM

$249
no review

Store Locator

$199
no review

Shop By Brand

$99
no review

Better Blog

FREE
7 reviews