cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to display youtube video when on clicking on a media symbol (thumbnail video) on PDP page?

Former Member
0 Likes
351

Scneario is something like I see up to 10 thumbnails with additional different images, one of them is a media-stream that I want to view. My requirement is to when I click on the media symbol for a product on PDP then the mediastream is opened and enlarged in a lightbox and then youtube video starts autoplay.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

You can use URL or URL2 attribute present in MediaModel. Add the youtube URL in that and if that is not null you should add a condition in UI to open a pop up. Your front end team should be able to build a lightbox .