Hi there,
I’m looking for the best way to dynamically change the video ID in the video module, when clicking on another element.
I have to build a video player like this one:
I will have a video module on the left, and a query loop with other videos on the right. When clicking on one of the loop items, I have to load that video ID into the video module on the left.
All videos are represented in the DB as posts. The left video can be a result of a query loop with a single item, if needed.
What would be the best way to approach this?