cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a youtube video as a additional media type for each product ?

Former Member
0 Kudos
 

Accepted Solutions (1)

Accepted Solutions (1)

former_member387866
Active Contributor
0 Kudos

Hi Supriyo,

I'm not 100% sure what your requirement is, but you can download the video, using a third party service, and then add it as a Media in hybris. Then display the video on the StoreFront.

A slightly better process would be to just take the link to the video. Make the link catalog aware, in the case that there is an upcoming iteration of the product. Have a placeholder component on the StoreFront that will appear if there is a YouTube video link populated. This component would have the YouTube Embed code and it would just require the link from the product.

 <iframe src="$YoutubeVideoLink"
         width="560"
         height="315"
         frameborder="0"
         allowfullscreen>
 </iframe>

I hope this helped,
Luke

Former Member
0 Kudos

Thank you Luke..

Answers (0)