This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Markus Ölhafen
Posted Nov 11 - Read on Facebook

Hey guys,
I'm trying to get the webview module from Pete Schaffner to work, but framer keeps telling me it can't find the module. I just dropped the index.js file on the Framer project, just with any other .coffee module.
Can you help me with this issue?
http://share.framerjs.com/gtpco8ut2t65/

module: https://github.com/peteschaffner/framer-webview

5 Comments

Koen Bok

Hey I just made a new example for this: http://share.framerjs.com/kqo10zh0g8u5/

A few (security) gotchas:

- Some urls (like google.com) don't allow loading in iframes
- You can't get the rendered page size in javascript if the url is in another domain, so you have to set something sensible with web.pageSize.

陳威威

I have the same problem..
can't find the module

陳威威

Maybe can find some clue at this example.
https://github.com/peteschaffner/framer-material

Markus Ölhafen

Awesome, thanks a lot Koen Bok! I definitely need to learn more about cofeescript, so I can understand all these modules and how to write them :)

Robin Andersen

Cant seem to get the size I want Koen Bok? would this method still work? I get a @1x view of the site I try to load into the Web Component. Have to set the width down and the scale up to make it feel right.

Read the entire post on Facebook