Hello, I've been exploring the embed API and I started out with the example here: http://code.google.com/apis/wave/embed/guide.html I can get this code to properly embed a wave from the sandbox, however when I modified it to display a Wave I have started in the Preview, it does not appear to work. Below is the code I've modified in attempt to make it work with the Preview However, I get a blank screen.
URL: http://eggy.cc/wave.html <!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: Simple Wave</title> <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+252Bnfj8BmBkD"); wavePanel.init(document.getElementById('waveframe')); } </script> </head> <body onload="initialize()"> <div id="waveframe" style="width: 500px; height: 100%"></div> </body> </html> I've checked the wave-id, I'm pretty sure I have the correct one.. I can pull it up in the preview with the ?#restore:wave:googlewave.com!w %252Bnfj8BmBkD url.. The same code below works with the sandbox.. http://eggy.cc/wave-simple.html <!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> <script type="text/javascript"> function initialize() { var wavePanel = new WavePanel("http://wave.google.com/a/ wavesandbox.com/"); wavePanel.loadWave("wavesandbox.com!w+UH2BJasiA"); wavePanel.init(document.getElementById('waveframe')); } </script> </head> <body onload="initialize()"> <div id="waveframe" style="width: 500px; height: 100%"></div> </body> </html> Any ideas? Right now, I'm thinking I'm not using the correct wave-id but I'm a tad lost as to why that would be when I'm able to pull it up within preview using the ?#restore URL.. -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=.