Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10915

Re: Embedded HTML CDF rendered as grey box.

From "luis.valero@mac.com" <lvalerob@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Embedded HTML CDF rendered as grey box.
Date 2012-07-14 05:32 +0000
Message-ID <jtr08q$bdu$1@smc.vnet.net> (permalink)
References <jmlrug$jcq$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Have you got any solution? I am looking to solve the same problem

Thank you



On Wednesday, April 18, 2012 9:53:52 AM UTC+2, Scott Colwell wrote:
> Has anyone come up with a better solution than the one below for dealing with embedded HTML CDF&#39;s that render as a grey boxes due to dynamic content from an untrusted path?
> 
> The script below adds &quot;{fullscreen:&#39;true&#39;}&quot; to the code in the html file but it would be nice if there was a way to work around the issue so that it doesn&#39;t render as grey in the first place.
> 
> Any ideas?
> 
> 
> &lt;script src=&quot;http://www.wolfram.com/cdf-player/plugin/v2.1/cdfplugin.js&quot; type=&quot;text/javascript&quot;&gt;
> &lt;/script&gt;
> &lt;script type=&quot;text/javascript&quot;&gt;
> var cdf = new cdf_plugin();
> cdf.embed(&quot;http://path.to/myCDF.cdf&quot;, 500, 600,{fullscreen:&#39;true&#39;});
> &lt;/script&gt;



On Wednesday, April 18, 2012 9:53:52 AM UTC+2, Scott Colwell wrote:
> Has anyone come up with a better solution than the one below for dealing with embedded HTML CDF&#39;s that render as a grey boxes due to dynamic content from an untrusted path?
> 
> The script below adds &quot;{fullscreen:&#39;true&#39;}&quot; to the code in the html file but it would be nice if there was a way to work around the issue so that it doesn&#39;t render as grey in the first place.
> 
> Any ideas?
> 
> 
> &lt;script src=&quot;http://www.wolfram.com/cdf-player/plugin/v2.1/cdfplugin.js&quot; type=&quot;text/javascript&quot;&gt;
> &lt;/script&gt;
> &lt;script type=&quot;text/javascript&quot;&gt;
> var cdf = new cdf_plugin();
> cdf.embed(&quot;http://path.to/myCDF.cdf&quot;, 500, 600,{fullscreen:&#39;true&#39;});
> &lt;/script&gt;

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Embedded HTML CDF rendered as grey box. "luis.valero@mac.com" <lvalerob@gmail.com> - 2012-07-14 05:32 +0000

csiph-web