mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 10:42:11 +00:00
made edits to call page
This commit is contained in:
@@ -10,8 +10,7 @@
|
||||
<%#= stylesheet_pack_tag 'application', media: 'all' %> <!-- Uncomment if you import CSS in app/javascript/packs/application.js -->
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<%= render 'shared/navbar' unless params["action"] == "home" || params["action"] == "new" %>
|
||||
<%= render 'shared/navbar' unless params["action"] == "home" || params["action"] == "new" || params["action"] == "call" %>
|
||||
<%= render 'shared/flashes' %>
|
||||
<%= yield %>
|
||||
<%= javascript_include_tag 'application' %>
|
||||
|
||||
@@ -1,13 +1,40 @@
|
||||
<h1>Action Cable Signaling Server</h1>
|
||||
|
||||
<div>Random User ID:
|
||||
<span id="current-user"><%= rand(0..10000) %></span>
|
||||
|
||||
<div class="call-container">
|
||||
<div id="remote-video-container">
|
||||
<div id="video_overlays">
|
||||
<video id="local-video" autoplay></video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="remote-video-container"></div>
|
||||
<video id="local-video" autoplay></video>
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<hr />
|
||||
<div>
|
||||
<span class="text-color" style="display:none">Random User ID:</span>
|
||||
<span id="current-user" class="text-color" style="display:none"><%= rand(0..10000) %></span>
|
||||
</div>
|
||||
|
||||
<button onclick="handleJoinSession()">
|
||||
Join Room
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<div class="video-feed half">
|
||||
<div class="video-content">
|
||||
<video id="contacts-video" autoplay=""></video>
|
||||
<!-- <video id="contacts-video" autoplay=""></video> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user