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

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

Implementation of WireMock for better testing

Spread the love WireMock is a flexible and powerful tool

Magento 2: How to selected default option in configurable options?

Spread the love Configurable products in Magento 2 allow

How To Implement Simple JWT Authentication in Django Rest Framework

Spread the love We’ll learn how to use simple JWT

Optimizing Search: Integrating Elasticsearch in Django Applications

Spread the love What is Elasticsearch? Elasticsearch is a

How to create Customer Segments

Spread the love In Magento 2, “customer

Proxy Design Pattern and Requisition List in Magento 2

Spread the love Requisition List in Magento 2 Requisition

bluethinkinc Blogs