I have a webpage that contains an iframe
. Inside that iframe
is an embedded Youtube video. When I play this video I make it scale up (grow) in size. As
The other way not suggested here would be to use two iframes. The second would float over the first one and would contain video. You can communicate between windows with window.postMessage. But if you have control over iframe and top page then you could put the video in div
in top page. Still both pages can communicate with window.postMessage
.