2020-03-22 05:23:46 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8"/>
|
2020-03-24 13:04:30 +08:00
|
|
|
<title>Neon Chat</title>
|
2020-03-27 04:44:58 +08:00
|
|
|
<link rel="shortcut icon" href="images/logo.svg">
|
|
|
|
<link rel="stylesheet" href="../css/chat.css">
|
2020-03-28 05:00:28 +08:00
|
|
|
<link rel="stylesheet" href="../css/snackbar.css">
|
2020-03-28 02:06:07 +08:00
|
|
|
<script src="https://kit.fontawesome.com/9d7bb7e31a.js" crossorigin="anonymous"></script>
|
2020-03-25 06:47:10 +08:00
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
|
2020-03-27 12:27:25 +08:00
|
|
|
<meta property="og:title" content="Join your friends call - Neonchat">
|
|
|
|
<meta property="og:description" content="Click the link to join this chat room using Neonchat">
|
|
|
|
<meta property="og:image" content="https://neonchat.io/images/preview.png">
|
|
|
|
<meta property="og:url" content="https://neonchat.io/">
|
2020-03-27 12:13:45 +08:00
|
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162048272-1"></script>
|
|
|
|
<script>
|
|
|
|
window.dataLayer = window.dataLayer || [];
|
2020-03-28 02:06:07 +08:00
|
|
|
|
|
|
|
function gtag() {
|
|
|
|
dataLayer.push(arguments);
|
|
|
|
}
|
|
|
|
|
2020-03-27 12:13:45 +08:00
|
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'UA-162048272-1');
|
|
|
|
</script>
|
2020-03-22 05:23:46 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2020-03-25 05:34:57 +08:00
|
|
|
|
|
|
|
<div class="videos">
|
2020-03-28 05:00:28 +08:00
|
|
|
<video id="remote-video" autoplay ondblclick={openFullscreen()}></video>
|
|
|
|
<video id="local-video" autoplay muted></video>
|
2020-03-24 13:04:30 +08:00
|
|
|
</div>
|
2020-03-22 05:23:46 +08:00
|
|
|
|
|
|
|
|
2020-03-28 02:06:07 +08:00
|
|
|
<div class="multi-button">
|
|
|
|
<div class="buttonContainer">
|
|
|
|
<button class="hoverButton" onclick="{muteMicrophone()}">
|
|
|
|
<i id="mic-icon" class="fas fa-microphone fa-xs"></i>
|
|
|
|
</button>
|
|
|
|
<div class="HoverState" id="mic-text">Mute</div>
|
|
|
|
</div>
|
|
|
|
<div class="buttonContainer">
|
|
|
|
<button class="hoverButton" onclick="{openFullscreen()}">
|
|
|
|
<i class="fas fa-compress fa-xs"></i>
|
|
|
|
</button>
|
|
|
|
<div class="HoverState">Fullscreen</div>
|
|
|
|
</div>
|
|
|
|
<div class="buttonContainer">
|
|
|
|
<button class="hoverButton" onclick="{pauseVideo()}">
|
|
|
|
<i class="fas fa-video fa-xs" id="video-icon"></i>
|
|
|
|
</button>
|
|
|
|
<div class="HoverState" id="video-text">Pause Video</div>
|
|
|
|
</div>
|
|
|
|
<div class="buttonContainer">
|
|
|
|
<button class="hoverButton" onclick="{window.location.href = '/newroom'}">
|
|
|
|
<i class="fas fa-phone-slash fa-xs"></i>
|
|
|
|
</button>
|
|
|
|
<div class="HoverState">End Call</div>
|
2020-03-25 05:34:57 +08:00
|
|
|
</div>
|
2020-03-28 06:05:21 +08:00
|
|
|
<div class="buttonContainer">
|
|
|
|
<button class="hoverButton" onclick="{swap()}">
|
|
|
|
<i id="swap-icon" class="fas fa-desktop fa-xs"></i>
|
|
|
|
</button>
|
|
|
|
<div class="HoverState" id="swap-text">Share Screen</div>
|
|
|
|
</div>
|
2020-03-25 05:34:57 +08:00
|
|
|
</div>
|
2020-03-22 05:23:46 +08:00
|
|
|
|
2020-03-26 05:57:54 +08:00
|
|
|
|
2020-03-22 05:23:46 +08:00
|
|
|
<script src="/socket.io/socket.io.js"></script>
|
2020-03-27 12:13:45 +08:00
|
|
|
<script src="../js/snackbar.js"></script>
|
2020-03-27 04:44:58 +08:00
|
|
|
<script src="../js/chat.js"></script>
|
2020-03-22 05:23:46 +08:00
|
|
|
</body>
|
|
|
|
</html>
|