diff --git a/examples/addtoscene.html b/examples/addtoscene.html index 26e0e3a..2138d00 100644 --- a/examples/addtoscene.html +++ b/examples/addtoscene.html @@ -64,7 +64,7 @@ var button = document.createElement("a"); button.innerHTML = "Invite "+listOfStreamIDs[i]; button.target = "_blank"; - button.href = "../?room=teststeve123&password=1234&broadcast&transparent&autostart&nmb&nvb&gain=0&webcam&l=stevetest&push="+listOfStreamIDs[i]+"_pov"; + button.href = "../?room=teststeve123&password=1234&broadcast&transparent&autostart&nmb&nvb&gain=0&webcam&l=stevetest&push="+listOfStreamIDs[i]; iframeContainer.appendChild(button); var button = document.createElement("button"); @@ -74,12 +74,12 @@ iframe.contentWindow.postMessage({ action: "addScene", value: "1", - target: listOfStreamIDs[i], + target: this.dataset.sid }, '*'); iframe.contentWindow.postMessage({ action: "mic", value: true, - target: listOfStreamIDs[i], + target: this.dataset.sid }, '*'); }; // target can be a stream ID or * for all. @@ -126,7 +126,19 @@
+ +
+ The password for guests is 1234
+
+
+ Custom guest invites and toggles for add/removing from scene=1 are on the bottom. +
+
+ Scene=1 link: https://vdo.ninja/?scene=1&room=teststeve123&password=1234 + + +
diff --git a/examples/index.html b/examples/index.html index c8b1feb..02d9be0 100644 --- a/examples/index.html +++ b/examples/index.html @@ -88,6 +88,22 @@ page; Picture-in-Picture style +
+

Multiple rooms

+
how to have multiple director rooms open in a single tab; note the URL's ?rooms=xx,yy command
+
+
+

versus.cam

+
How to use the IFRAME API to transport audio and video to the parent frame in Chrome
+
+
+

add to scene

+
How to use the IFRAME API to add/remove guests to a scene remotely
+
+
+

big mute button

+
Mobile-friendly big-button for muting yourself easily
+

sensors

@@ -99,6 +115,12 @@ it to canvas.
+
+

sensor overlay

+ +
Overlay the incoming speed from remote mobile sensor data onto your video +
+

midi

diff --git a/index.html b/index.html index 0357cd1..76a92f1 100644 --- a/index.html +++ b/index.html @@ -57,7 +57,7 @@ - + @@ -82,7 +82,7 @@ - +