This lib support Meteor ?
I've never tried it.
If their is a simple patch I'm open to a PR for it.
The question i wanted to ask too.. The reason im here isbecause https://github.com/oyvindkinsey/easyXDM/pull/229
Is this plugin the same ? Is this waiting for the document ready event ?
thanks
It does use document ready as a trigger event, but it's not the only one and it should still work without it firing. I have very little experience of Meteor, I'm open to a PR if you find a simple fix to this problem.
Hi. I have used your iframe-resizer and it works great. Thank you for sharing it. It works well for cross-platform too. One thing that I noticed is that its not responsive. i.e. I have written separate media query for loading my website on mobiles and tabs, but after using this plugin its just showing a shrunk version of my desktop view on my mobile. Could you please help me solve this issue.
Dear @davidjbradshaw , I use your wonderful iframe-resizer both ways along with Meteor. Either embedding a Meteor app into static sites or the other way around. THANK YOU!!!
Embedding Meteor iframes on static sites works the very same way as per your documentation.
To embed iframe on an Meteor app requires no PR from your part either. It just need a trick...
1) Add your <iframe src="https://myappORsite"></iframe> on your template as you would normally do.
2) Add the iFrameresizer.js on your client folder. No need here to reference it to load on <Script> tags. This is the standard Meteor way.
3) Add the following onCreate for your template above:
Template.yourtemplate.onRendered(function() {
iFrameResize({log:false,heightCalculationMethod: 'lowestElement'});
});
Most helpful comment
Dear @davidjbradshaw , I use your wonderful iframe-resizer both ways along with Meteor. Either embedding a Meteor app into static sites or the other way around. THANK YOU!!!
Embedding Meteor iframes on static sites works the very same way as per your documentation.
To embed iframe on an Meteor app requires no PR from your part either. It just need a trick...
1) Add your
<iframe src="https://myappORsite"></iframe>on your template as you would normally do.2) Add the iFrameresizer.js on your client folder. No need here to reference it to load on
<Script>tags. This is the standard Meteor way.3) Add the following onCreate for your template above: