Method to create responsive popup

Continuing the discussion from Youtube videos on popup:

Hi. Thanks for your excellent help. I want to know what would be the correct method for you to make the popup window responsive with a YouTube video.

Given you uses @h_classen approach then …
(code edit is inside “Rechteck 1” in the “youtubevideo” symbol)