decentralized-video-chat/public/chat.html
2020-03-25 02:02:06 -04:00

33 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Neon Chat</title>
<link rel="shortcut icon" href="landing/images/logo.svg">
<link rel="stylesheet" href="chat.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
</head>
<body>
<div class="videos">
<video id="remote-video" height="500" autoplay ondblclick={openFullscreen()}></video>
<video id="local-video" height="150" autoplay muted></video>
</div>
<div class="buttons" id="buttons">
<div class="center">
<a href="/landing" class="round-button">Back</a>
<a class="round-button" onclick="{openFullscreen()}">Fullscreen</a>
<a class="round-button" onclick="{muteMicrophone()}" id="muteButton">Mute </a>
<a class="round-button" onclick="{pauseVideo()}" id="videoPauseButton">Pause </a>
<a class="round-button" onclick="{alert('hangup')}">Share Screen </a>
</div>
</div>
<script src="/socket.io/socket.io.js"></script>
<script src="/chat.js"></script>
</body>
</html>