diff --git a/examples/chatoverlay.html b/examples/chatoverlay.html
new file mode 100644
index 0000000..0e9ab05
--- /dev/null
+++ b/examples/chatoverlay.html
@@ -0,0 +1,162 @@
+
+
+
+
+ OBSN Chat Overlay
+
+
+
+
+
+
diff --git a/examples/index.html b/examples/index.html
index 5519728..c8b1feb 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -77,6 +77,11 @@
How to have a twitch live chat side-by-side with VDO.NInja on the same
screen
+
+
+
How to have a youtube live chat side-by-side with VDO.NInja on the same
+ screen
+
how to have two VDO.Ninja windows (or any windows really) open on the same
@@ -112,7 +117,7 @@
layout of elements. (experimental)
-
+
Example of a chat-only interface for VDO.Ninja; maybe
dockable into OBS even.
diff --git a/examples/twitch.html b/examples/twitch.html
index 17ea7fe..03e627b 100644
--- a/examples/twitch.html
+++ b/examples/twitch.html
@@ -64,7 +64,7 @@ input{
-
+
@@ -85,8 +85,13 @@ function loadIframes(url=false){
document.getElementById("container2").style.display="inline-block";
var path = window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");
+ path = path.replace("/examples","");
- var room1 = "https://"+path+"/?push="+roomname+"&webcam&autostart&vd=front&ad=1&transparent&noheader";
+ if (roomname.startsWith("https://")){
+ var room1 = roomname;
+ } else {
+ var room1 = "https://"+path+"/?push="+roomname+"&webcam&autostart&vd=front&ad=1&transparent&noheader";
+ }
var room2 = "https://www.twitch.tv/embed/"+twitch+"/chat?parent="+location.hostname;
var iframe = document.createElement("iframe");
iframe.allow = "autoplay;camera;microphone;fullscreen;picture-in-picture;";
diff --git a/examples/youtube.html b/examples/youtube.html
new file mode 100644
index 0000000..f9f4a1f
--- /dev/null
+++ b/examples/youtube.html
@@ -0,0 +1,129 @@
+
+YouTube Chat + VDON
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file