There is a simple layout that doesn't even make sense, a div in which iframe is added with the help of innerHTML - in this element there is a YouTube video (taken from the API).
When I click on this video, I need to intercept the click, and transfer the user to the video itself itself on YouTube.
Question: how can you intercept play YouTube videos in the iframe , and instead of playing on my site, redirect it to a new tab directly on YouTube?