[PD] Visualising HTML page in Purr-data

Jonathan Wilkes jancsika at yahoo.com
Fri Feb 17 03:45:51 CET 2017


> Nice, that works for <iframe>.


> Any idea why I see nothing in <webview> objects? 

Unfortunately I don't-- I've been working mostly in SVG land, 
and only the simple parts of HTML for input, divs and some 
CSS styling.
I have seen some discussions of webview in the nw.js mailing list, 
so you might check there.
> Thanks,
> Giulio
________________________________

From: Jonathan Wilkes <jancsika at yahoo.com>
To: Giulio Moro <giuliomoro at yahoo.it>; "pd-list at lists.iem.at" <pd-list at lists.iem.at> 
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/pd-list@lists.iem.at/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


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170217/1521fbdc/attachment-0001.html>


More information about the Pd-list mailing list