Re: Embedded HTML CDF rendered as grey box.

*To*: mathgroup at smc.vnet.net*Subject*: [mg127290] Re: Embedded HTML CDF rendered as grey box.*From*: "luis.valero at mac.com" <lvalerob at gmail.com>*Date*: Sat, 14 Jul 2012 01:30:08 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com*Delivered-to*: mathgroup-newout@smc.vnet.net*Delivered-to*: mathgroup-newsend@smc.vnet.net*References*: <jmlrug$jcq$1@smc.vnet.net>

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's that render as a grey boxes due to dynamic content from an untrusted path? > > The script below adds "{fullscreen:'true'}" 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't render as grey in the first place. > > Any ideas? > > > <script src="http://www.wolfram.com/cdf-player/plugin/v2.1/cdfplugin.js" type="text/javascript"> > </script> > <script type="text/javascript"> > var cdf = new cdf_plugin(); > cdf.embed("http://path.to/myCDF.cdf", 500, 600,{fullscreen:'true'}); > </script> 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's that render as a grey boxes due to dynamic content from an untrusted path? > > The script below adds "{fullscreen:'true'}" 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't render as grey in the first place. > > Any ideas? > > > <script src="http://www.wolfram.com/cdf-player/plugin/v2.1/cdfplugin.js" type="text/javascript"> > </script> > <script type="text/javascript"> > var cdf = new cdf_plugin(); > cdf.embed("http://path.to/myCDF.cdf", 500, 600,{fullscreen:'true'}); > </script>