Files
Testing/vidcall.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

111 lines
3.0 KiB
PHP

<?php
$page = "onlinemembers";
include "header.php";
function general()
{
global $user, $url, $_SESSION, $database;
?>
<script>
if(!location.hash.replace('#', '').length) {
location.href = location.href.split('#')[0] + '#' + (Math.random() * 100).toString().replace('.', '');
location.reload();
}
</script>
<style>
audio, video {
-moz-transition: all 1s ease;
-ms-transition: all 1s ease;
-o-transition: all 1s ease;
-webkit-transition: all 1s ease;
transition: all 1s ease;
vertical-align: top;
width: 45%;
}
.setup {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
font-size: 102%;
height: 47px;
margin-left: -9px;
margin-top: 8px;
position: absolute;
}
/* p { padding: 1em; }
li {
border-bottom: 1px solid rgb(189, 189, 189);
border-left: 1px solid rgb(189, 189, 189);
padding: .5em;
}*/
</style>
<script>
document.createElement('article');
document.createElement('footer');
</script>
<article>
<table class="visible">
<tr>
<td style="text-align: right;">
<input type="text" id="conference-name" placeholder="Broadcast Name">
</td>
<td>
<button id="start-conferencing">New Broadcast</button>
</td>
</tr>
</table>
<table id="rooms-list" class="visible"></table>
<table class="visible">
<tr>
<td style="text-align: center;">
<h2>
<strong>Private Broadcast</strong> ?? <a href="" target="_blank" title="Open this link in new tab. Then your broadcasting room will be private!"><code><strong id="unique-token">#123456789</strong></code></a>
</h2>
</td>
</tr>
</table>
<div id="participants"></div>
<script src="broadcast/socket.io.js"> </script>
<script src="broadcast/RTCPeerConnection-v1.5.js"> </script>
<script src="broadcast/broadcast.js"> </script>
<script src="broadcast/broadcast-ui.js?s=2"> </script>
</article>
<? //<iframe src="http://bateworld.com/cometchat/list.php" height="550px" width="950px"></iframe>?>
<?
}
include "footer.php";
?>