I got blank pages too (I extracted the embed stuff from "Embeddy," but it didn't work). Instead, I used the format specified in the Embed tutorial, which is a bit different. My script is:
<script src="http://wave-api.appspot.com/public/embed.js" type="text/ javascript"></script> <script type="text/javascript"> function initialize() { var wavePanel = new WavePanel('http://wave.google.com/wave/'); wavePanel.loadWave('googlewave.com!w+KJG7cs0qC'); wavePanel.init(document.getElementById('waveframe')); } </script> and then the body tag is <body onload="initialize()"> That worked for me; Embeddy's code did not. -Chris On Oct 16, 9:18 am, Anuj <[email protected]> wrote: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas- > microsoft-com:vml"> > <head> > <meta http-equiv="content-type" content="text/html; charset=utf-8"/ > > <title>Google Wave Embed API Example: Simple Wave</title> > <script src="http://wave-api.appspot.com/public/embed.js" > type="text/javascript"></script> > > </head> > <body onload="initialize()"> > <div id="wave" style="width: 560px; height: 420px"></div> > > <script > type="text/javascript" > src="http://wave-api.appspot.com/public/embed.js"> > </script> > <script type="text/javascript"> > var wave = > new WavePanel('https://wave.google.com/wave/'); > wave.setUIConfig('navy', 'black', 'Arial', '13px'); > wave.loadWave('googlewave.com!w+sCKNJsi8E'); > wave.init(document.getElementById('wave')); > </script> > > </body> > </html> > > GIVES A BLANK PAGE... > > On Oct 16, 1:51 pm, Sam Osborne <[email protected]> wrote: > > > > > I thought the embeddy code still had the sandbox code in it... > > > 2009/10/15 ndee <[email protected]> > > > > just add [email protected] to your contact and wave and it will > > > generate a valid embed code you can then adjust to your needs :) > > > > On Oct 15, 6:02 pm, Sam Osborne <[email protected]> wrote: > > > > Seeing as my Internet is actually awful, I'm struggling.. I won't really > > > > know until we get an upgrade on Saturday.. Woot! > > > > Can I have a look at the code you're using (just the Wave bits)? > > > > > 2009/10/15 Anuj <[email protected]> > > > > > > Tried but no luck, have you been successful in embedding. > > > > > > On Oct 15, 2:40 pm, Sam Osborne <[email protected]> wrote: > > > > > > I think so... You just need to change some of the code to adapt to > > > the > > > > > > preview. > > > > > > > 2009/10/14 Anuj <[email protected]> > > > > > > > > Do the 100000 users invited for preview have access to the Embed > > > API > > > > > > > functions? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~----------~----~----~----~------~----~------~--~---
