In a product description, we can add HTML tags so that we can use the <object>
tag. With an <object>
tag, we can embed widgets, such as a YouTube video, social widgets, and more.
In this recipe, we will focus on how to add a YouTube video in a product description.
Go to http://www.youtube.com, and choose a video that you want to show on the product detail page.
The next steps shows you how to embed a YouTube video on a product detail page.
On the YouTube video page, click on the Embed button. When you click this button, the following screen shows up:
Copy the HTML code and paste it in the description of the product.
Save the product.
Go to the product in the frontend. You will see the video on the Product page.