diff --git a/iframe.html b/iframe.html index 1b434d2..aa47e2f 100644 --- a/iframe.html +++ b/iframe.html @@ -177,6 +177,16 @@ function loadIframe(){ // this is pretty important if you want to avoid camera button.onclick = function(){iframe.contentWindow.postMessage({"getLoudness":false}, '*');}; iframeContainer.appendChild(button); + var button = document.createElement("button"); + button.innerHTML = "Start Recording"; + button.onclick = function(){iframe.contentWindow.postMessage({"record":true}, '*');}; + iframeContainer.appendChild(button); + + var button = document.createElement("button"); + button.innerHTML = "Stop Recording"; + button.onclick = function(){iframe.contentWindow.postMessage({"record":false}, '*');}; + iframeContainer.appendChild(button); + var button = document.createElement("button"); button.innerHTML = "Say Hello"; button.onclick = function(){iframe.contentWindow.postMessage({"sendChat":"Hello!"}, '*');}; diff --git a/index.html b/index.html index 0361954..d18ae60 100644 --- a/index.html +++ b/index.html @@ -55,7 +55,7 @@ } - + @@ -67,18 +67,21 @@ - + @@ -890,7 +893,7 @@ - Show Display Names + Show display names
- Force Mono Audio + Force mono audio
@@ -939,7 +942,7 @@ - + + @@ -1289,7 +1296,7 @@ --> - +