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.
2. Go to Credentials tab, click Create Credentials.
3. Select the API Key option to get an 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 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.
5. Enter the Product video URL from YouTube.
After adding product video URL, click to save and go back to the product page to check the video added.
That’s it!
If you have any query please comment.
bluethinkinc_blog
2022-12-20