You can embed youtube videos in Sunrise,
.
In the Sunrise product detail template, you can use a tag {prod_video} , and with Javascript add the required DIV when the value is not empty to create the DIV and youtube details for example:
<div>
<iframe width="560" height="315" src="{prod_video} " frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
First you need to locate the video in youtube that you want to embed.
In the content / video, please use the embedded link, you can get the embedded link when clicking on Share of the video, then you see the icon Embed.
See screen shoot example:
- When you are in the selected youtube video, click on Share:
- Then click on the Embed:
- Select ONLY the video name URL in the embed block:
- In Sunrise, locate the product , go to the content section and Copy the URL in the product / content / Video field: