How to Add YouTube Videos in Magento 2 Product Pages

Blog
Spread the love

Product videos are just like that! Videos bring a product to life! Videos can explain a product in a better way. Humans are visual creatures and respond to visual data more effectively rather than any other data types. So, adding videos on product pages describing the product and its features is the best way to present your products.

Get the YouTube API Key

You need to login to your Google account and go to Google Developers Console.

1- Land on API library page where you need to click on YouTube Data API, enable the API by clicking on Create Project.

youtube-api-key

2. Go to Credentials tab, click Create Credentials.

3. Select the API Key option to get an API.

youtube-data-api

Integrate YouTube API key to Magento 2

3. Go to Stores -> Configuration -> Catalog. Click on Product and video section insert the YouTube API key,generated from the Google Developers Console. Save the config.

integrate-youtube-api-key

Integrate YouTube Video URL to Product

4. Go to Catalog -> Products -> Edit a product. Click on Images and Videos section of Product and click on Add Video.

iintegrate-product

5. Enter the Product video URL from YouTube.

iadding-product

After adding product video URL, click to save and go back to the product page to check the video added.

product-api.png

That’s it!

marketing-product-api

If you have any query please comment.

bluethinkinc_blog

bluethinkinc_blog

2022-12-20

0

Leave a Reply

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

Find More Blogs

Customize lead qualification for a seamless experience

Spread the love When the 2024 Release Wave 2 was launched,

Create a Custom Console Command in Spryker

Spread the love In Spryker, developers can create custom

SALESFORCE

Spread the love Salesforce is a cloud-based software

CRUD Operation in Spryker Backoffice with a Custom Module

Spread the love Spryker is a highly flexible and modular

How to create custom module on Spryker for Backoffice?

Spread the love Creating a custom module in Spryker

How to Install Spryker Project with Docker on Local Machine

Spread the love Spryker is a flexible and scalable commerce

How to Add a Custom Tab to the Customer Order Detail Page in Magento 2

Spread the love Adding a custom tab to the Order Detail

Exception Handling in Java

Spread the love Introduction – Exception:An unwanted

How to add custom less file in Magento2

Spread the love Source files *.css included into layout

Spring Boot Microservices

Spread the love Microservices architecture has become

bluethinkinc Blogs