IFRAME-RESIZER
Automatic Resizing
Automatically works out the optimal strategy to calculate the page dimensions, every time your content changes size.
Cross-Domain
Supports external (cross-origin) iframes via a simple JS file that is designed to be a zero impact guest on the sites hosting it.
Extended API
Provides a range of missing browser API features, that allows you to securely integrate your iframe content with the parent page.
Frameworks
Works with React, Vue, Angular and jQuery. Plus iframe-resizer provides an API for generating your own components.
Wordpress
iframe-resizer is simple to setup and use with WordPress.
Accessible
Automatically configures iframes to maximise accessibility compatibility and compliance.
Feedback on iframe-resizer
"Improved the user experience a lot. Very happy with it."
Johan Stuyts
"Epic library for a critical website need! Thanks for making this available!"
Jason
"Saved me a ton of time fiddling with iframe resizing, thank you."
Warpstream Labs
"Thank you for all your hard work! I was asked to embed a site I'd created into someone else's Wordpress site and this made it possible."
Jack
"iframe-resizer library was super-helpful! And the documentation was easy enough for a beginner like myself. Thank you!"
Darvin Martin
"Your great iframe resizer "toolkit" saved my day already several times & always worked perfectly with just a few lines of code. Keep up the good work!"
A Hueller
"I rolled my own for some of these features before I came across your lib. Thanks for your work. "
claw_slaw_bibbly_bop
"After finding this project and verifying how well it works, it really made my day. Much appreciated!"
Adam Pitzele
"Nasty problem to solve, your solution took 5 minutes to implement, zero pain. Much love."
Laurence Martinier
"You made it easy for me to share Drupal Webforms on any website, webpage, or application. Thanks."
J Rockowitz
"Great work. Have been using this for years always with success!"
Maureen
"Needed last minute resizing, your lib and instructions did the trick."