AnsweredAssumed Answered

Dynamically resizing iframes in Canvas

Question asked by Jordan Roose on Dec 12, 2018
Latest reply on Jan 1, 2019 by Kona Jones

I am trying to dynamically size iframes in canvas. I can size the width by setting it to 'width=100%' but it does not allow me to dynamically size the height, which means any time we update the iframe, we have to go to each location and manually change the height for each one. For Moodle and Blackboard, I am able to use the iframeResizer.js found here: GitHub - davidjbradshaw/iframe-resizer: Keep same and cross domain iFrames sized to their content with support for windo… 

 

However it appears that it is unsupported in Canvas. Is there another solution for dynamically sizing height for iframes in Canvas?

Outcomes