Show YouTube video in a modal using the API Data Source

I have successfully created a video gallery from a YouTube channel using API Data Source. All works well with the exception that I would like to show the video in a modal instead of leaving the site to go to YouTube.

Before I re-invent the wheel, I would like to know if anyone else has developed this. The idea is to have just one modal that gets dynamically populated.

The page that I am referring to is https://accufire.com.au/gallery.php

The idea of using just one modal can be seen at https://bunchokids.org/videos.php

Community Page
Last updated: