I am developing banner add which is expandable. The issue is that the banner specs require the banner to auto collapse when the mouse leaves the banner.
This is complicated because the expanded page of the banner has a youtube video. The HTML5 YouTube Video inserts a iframe.
So what is happening is, when the mouse is moved over the YouTube Video the banner collapses. It should not do this and the banner should only collapse when the mouse leaves the banner ads region.
The banner has 4 different active top layers based on where you are hoving within the banner. The Collapse button, The Important Safety Information copy region, The YouTube video and the rest of the banner clicks out to the exit URL.
To solve this issue I used the following approach to target all children of the parent element: Prevent onmouseout when hovering child element of the parent absolute div WITHOUT jQuery
However, this doesn't work for the iframe.
If anyone could point me in the right direction to prevent the banner from auto collapsing when the curser hovers over the YouTube Video/iframe I would greatly appreciate it.
Thanks