shrink or expand an iframe based on a zoom-button click?
I show Youtube and Vimeo videos on my website, and I want the user to be able to adjust their size by clicking on a zoom/unzoom button. Since both Youtube and Vimeo use 'iframes', it would seem that a jQuery command that modifies the size of iframes might work, assuming the videos resized along with their containing iframe.
I looked for commands to do this, and there are entire libraries available on github that resize iframes. The reason given for these libraries is that users resize webpages and web-designers want the iframes in the page to shrink or expand to match..
But is there a simple set of commands that accomplish this?
Thanks.