-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
24 lines (23 loc) · 954 Bytes
/
index.html
File metadata and controls
24 lines (23 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://cdn.statically.io/gh/weberi/chatroom/master/dist/Chatroom.css" />
<link rel="stylesheet" type="text/css" href="https://cdn.statically.io/gh/weberi/chatroom/master/index.css">
<link rel="stylesheet" type="text/css" href="https://cdn.statically.io/gh/weberi/chatroom/master/themes/theme2.css" />
</head>
<body>
<div class="chat-container"></div>
<script src="https://cdn.statically.io/gh/weberi/chatroom/master/dist/Chatroom.js"></script>
<script type="text/javascript">
var chatroom = new window.Chatroom({
host: "https://cuddly-robot-5gvqpjp6rjc7574-5005.app.github.dev/",
title: "Chat with a bot",
container: document.querySelector(".chat-container"),
welcomeMessage: "Nice to meet you.",
speechRecognition: "en-US",
voiceLang: "en-US"
});
chatroom.openChat();
</script>
</body>
</html>