How Google wave embedding works ?

The flow of embedding a wave to any webpage

The URI will be like : google_wave_domain#Postion!w[Code]

The embed code will be:

DIV => id="waveframe" style="width: 500px; height: 500px"

JavaScript:

google.load("wave", "1");
google.setOnLoadCallback(initialize);
function initialize() {
var waveframe = document.getElementById("waveframe");
var embedOptions = {
target: waveframe,
header: true,
toolbar: true,
footer: true
};
var wavePanel = new google.wave.WavePanel(embedOptions);
wavePanel.loadWave("googlewave.com!w+[code]");
}

[code] will be replaced by the [code] found in the Wave URI.
The view of the wave depends on :
header: true| false,
toolbar: true|false,
footer: true|false

"Note: Waves are only viewable by participants on the wave. If you want a wave to be public,you can add [email protected] or use a Google Group."

Share this