113 lines
3.2 KiB
PHP
113 lines
3.2 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%;
|
||
|
|
}
|
||
|
|
|
||
|
|
input {
|
||
|
|
border: 1px solid #d9d9d9;
|
||
|
|
border-radius: 1px;
|
||
|
|
font-size: 2em;
|
||
|
|
margin: .2em;
|
||
|
|
width: 70%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.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="//cdn.webrtc-experiment.com/socket.io.js"> </script>
|
||
|
|
<script src="//cdn.webrtc-experiment.com/RTCPeerConnection-v1.5.js"> </script>
|
||
|
|
<script src="//cdn.webrtc-experiment.com/broadcast/broadcast.js"> </script>
|
||
|
|
<script src="//cdn.webrtc-experiment.com/broadcast/broadcast-ui.js"> </script>
|
||
|
|
</article>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<? //<iframe src="http://bateworld.com/cometchat/list.php" height="550px" width="950px"></iframe>?>
|
||
|
|
<?
|
||
|
|
}
|
||
|
|
|
||
|
|
include "footer.php";
|
||
|
|
|
||
|
|
?>
|