-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (35 loc) · 1.63 KB
/
Copy pathindex.html
File metadata and controls
36 lines (35 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>PHP Mumble Viewer</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="shortcut icon" type="image/x-icon" href="mumble.ico" />
<script type="text/javascript" src="http://cdn.rko.nu/jquery-qtip/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="http://cdn.rko.nu/jquery-qtip/jquery.qtip-1.0.0-rc3.min.js"></script>
<script type="text/javascript" src="jquery.mumblereader.min.js"></script>
<script type='text/javascript'>
$(document).ready(function()
{
load_mum(); //This will to the loading the first time
window.setInterval("load_mum();", 30000); //This will load the viewer every 30 seconds
});
var mr = new mumbleReader('http://api.rko.nu/mumbleexample.php?callback=?', 'mum0'); //init the object
mr.settooltip(true); //to disable the tooltip change true to false
mr.setuseservername(true); //Use the server name as name of the root channel
mr.setlenght(50); //Set the max lenght for displaying or remove this line to have no limit
mr.setimgpath('icons/'); //Set the image path the local subdirectory MAKE SURE THAT U UPLOAD THE ICONS
mr.setuseservername(true); //Do not show root in the Root channel but the given servername
function load_mum() {
mr.start(); //This will reload the viewer
}
</script>
</head>
<body>
<table>
<tr>
<td VALIGN="top"><div id="mum0"></div></td>
</tr>
</table>
</body>
</html>