Nice, that works for <iframe>.
Any idea why I see nothing in <webview> objects? 
Thanks,
Giulio
________________________________

From: Jonathan Wilkes <[email protected]>
To: Giulio Moro <[email protected]>; "[email protected]" 
<[email protected]> 
Sent: Thursday, 16 February 2017, 22:49
Subject: Re: Visualising HTML page in Purr-data



> Hi,
> great that purr-data is finally out.
> I went back to this thread 
https://www.mail-archive.com/[email protected]/msg10518.html which briefly 
touched on the topic of visualizing HTML pages inside purr data, but did not 
find the solution to my problem.

> Using <iframe> seems to load local files just fine, but it does not load 
> remote files: any src="http://website"; attribute will display "localhost" and 
> any src="http://website/pagenNotOnLocalhost"; will give me a 404.

There's a setting you have to remove in the package.json file:
  "chromium-args": "--proxy-server=http://127.0.0.1";,
I put that there because currently any network functionality happens from 
the Pd process.  The GUI only makes a tcp connection to the Pd process and 
that's it.

If you remove that line then you'll be able to make network requests from the 
GUI.  Also, Chromium will make whatever connections it thinks it needs to fetch 
whitelists and whatever else it does to try to keep your machine from becoming 
a solider in somebody's botnet.

-Jonathan

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to