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

Salesforce Admin

Spread the love In our last blog, we discussed common

Unlocking AI with Spring Boot: Real-World Use Cases and Solutions

Spread the love Artificial Intelligence (AI) has moved from

Enhancing Performance with Reactive Java: A Beginner-Friendly Guide

Spread the love In today’s fast-paced software

Integrating Azure Function with Dynamics 365

Spread the love Signup on azure portal and make sure to

How to Create a Power Apps Component Framework (PCF) with React

Spread the love If youʼve been looking to supercharge your

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

bluethinkinc Blogs