Michael,
Thank you for the great plugin, I am using the Pro version. The iframes I use on my WordPress website were previously not acting responsively but after the last update, it was improved and it now resizes the height of the iframe as you resize the browser.
But I am receiving an error:
Uncaught ReferenceError: aiResizeIframeRatio is not defined at HTMLIFrameElement.onload (VM230:1009)
(function(event){;aiResizeIframeRatio(this, "1.5625"); })
On the first screenshot, you can see the iframe (the bottle) at the correct proportions when the page loads. On the second screenshot, I noticed a large increase in height when you first begin to resize the browser. On the third screenshot, you can see it responsively reduces in size with the browser. But when the browser returns to its full size (I couldn't attach a 4th screenshot) the iframe remains at the scale seen when the iframe jumps in size (What you see in the 2nd screenshot). Am I having problems with the ai.js file? Please see the screenshots. Currently, we have our website https://fohbcvirtualmuseum.org in a coming soon mode, so please let me know if you need to take a closer look at it and when you will be able to. I would really appreciate it.
This is the short code I am using: [advanced_iframe securitykey="....." use_shortcode_attributes_only="true" src="https://www.fohbcvirtualmuseum.org/spin-500/Ta%20Tsing%20Final%20spin%20500/iframe.html" id="advanced_iframe" name="spinner_iframe" height="1100" width="100%" allowfullscreen="true" enable_responsive_iframe="true" iframe_height_ratio="1.5625"]
Thank you for your time, Miguel
Attachments: |
File comment: On the third screenshot, you can see it responsively reduces in size with the browser. But when the browser returns to its full size (I couldn't attach a 4th screenshot) the iframe remains at the scale seen when the iframe jumps in size (What you see in the 2nd screenshot).
03. iframe resizes properly past that point.png [ 93.17 KiB | Viewed 9791 times ]
|
File comment: On the second screenshot, I noticed a large increase in height when you first begin to resize the browser.
02. iframe jumps in height once you begin to resize browser.png [ 247.54 KiB | Viewed 9791 times ]
|
File comment: On the first screenshot, you can see the iframe (the bottle) at the correct proportions when the page loads.
01. Page loads at full browser size - iframe is at correct size.png [ 251.78 KiB | Viewed 9791 times ]
|
|