How to Add YouTube Videos in Magento 2 Product Pages
The video can be transferred from your peruse or you can implant the Youtube connect to the item settings. That's what to do, you should get an API Key from your Google record and addition it in the setup.
The necessary advances you ought to follow are recorded plainly in this instructional exercise.
3 Steps to Upload Product Videos in Magento 2
Stage 1: Get Your YouTube API Key
Stage 2: Configure Magento
Stage 3: Link to the Video
Stage 1: Get Your YouTube API Key
To begin with, you need to get your YouTube API Key by going to your Google account:
Sign in to your Google record, and visit the Google Developers Console. Then, at that point, follow these:
Under Use Google APIs, click Youtube Data APIs. google programming interface
In the board on the left pick Credentials, click on Create Credentials and pick API key. make
When provoked to make another key, pick Server key. Enter a name for the key and IP address, and tap on Create.
After you get the key, duplicate the way in to the clipboard. youtube key
Stage 2: Configure in Magento
Presently, return to the Magento and finish the settings:
On the Admin Sidebar, Stores > Settings > Configuration.
In the board, under Catalog, pick Catalog.
Grow the Product Videos area, glue Youtube API key into the expected field.
Step by step instructions to transfer Product Videos Add API key
Go to Cache Management to invigorate the reserve.
Stage 3: Link to Video
Add the video on your site and all that will be set!
From the Product Detail, click on Add Video in the Images and Videos.
The most effective method to transfer Product Videos Add Video
Enter the URL of the YouTube or Vimeo video. In the URL field, on the off chance that you haven't entered the Youtube API key yet, the framework blunder message will show up, click on OK to proceed.
Step by step instructions to transfer Product Videos Error Message
Enter the Title and Description of the video.
To transfer a Preview Image, peruse to the picture and select the record.
Assuming you like to utilize the video meta information, click on Get Video Information.
To allot the job to the video, mark the comparing checkbox of every Role:
Base Image
Little Image
Sample Image
Thumbnail
Stow away from Product Page
When complete, click on Save.
Step by step instructions to transfer Product Videos Product Video
References:
Comments
Post a Comment