decentralized-video-chat/public/chat.html

46 lines
1.7 KiB
HTML
Raw Normal View History

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">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
2020-03-27 04:44:58 +08:00
<script src="js/snackbar.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/">
<!-- 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 || [];
function gtag(){dataLayer.push(arguments);}
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">
<video id="remote-video" height="500" autoplay ondblclick={openFullscreen()}></video>
2020-03-25 05:34:57 +08:00
<video id="local-video" height="150" autoplay muted></video>
2020-03-24 13:04:30 +08:00
</div>
2020-03-22 05:23:46 +08:00
<div class="buttons" id="buttons">
<div class="center">
2020-03-27 04:44:58 +08:00
<a href="/" class="round-button">Back</a>
<a class="round-button" onclick="{openFullscreen()}">Fullscreen</a>
<a class="round-button" onclick="{muteMicrophone()}" id="muteButton">Mute </a>
2020-03-27 12:52:33 +08:00
<a class="round-button" onclick="{pauseVideo()}" id="videoPauseButton">Pause </a>
2020-03-25 05:34:57 +08:00
</div>
</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>
<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>