75bd9a754f
Conflicts: bigbluebutton-client/resources/prod/BigBlueButton.html
88 lines
3.6 KiB
HTML
Executable File
88 lines
3.6 KiB
HTML
Executable File
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
<head>
|
|
<title></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<style type="text/css" media="screen">
|
|
html, body, #content { height:100%; }
|
|
body { margin:0; padding:0; overflow:hidden; }
|
|
#altContent { /* style alt content */ }
|
|
</style>
|
|
|
|
<script type="text/javascript" src="swfobject/swfobject.js"></script>
|
|
<script type="text/javascript">
|
|
swfobject.registerObject("BigBlueButton", "11", "expressInstall.swf");
|
|
</script>
|
|
<script src="lib/jquery-1.5.1.min.js" language="javascript"></script>
|
|
<script src="lib/bigbluebutton.js" language="javascript"></script>
|
|
<script src="lib/bbb_localization.js" language="javascript"></script>
|
|
<script src="lib/bbb_blinker.js" language="javascript"></script>
|
|
<script src="lib/bbb_deskshare.js" language="javascript"></script>
|
|
<script type="text/javascript">
|
|
function sendToActionScript() {
|
|
console.log("Calling the swf file");
|
|
// https://code.google.com/p/swfobject/wiki/api
|
|
var obj = swfobject.getObjectById("BigBlueButton");
|
|
if (obj) {
|
|
obj.joinVoice(); // e.g. an external interface call
|
|
}
|
|
}
|
|
|
|
function newUserJoined() {
|
|
console.log("User has joined voice conference.");
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="controls">
|
|
<button type="button" onclick="sendToActionScript()">Click Me!</button>
|
|
</div>
|
|
|
|
<div id="content">
|
|
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="90%" id="BigBlueButton" name="BigBlueButton" align="middle">
|
|
<param name="movie" value="BigBlueButton.swf?v=VERSION" />
|
|
<param name="quality" value="high" />
|
|
<param name="allowfullscreen" value="true" />
|
|
<param name="bgcolor" value="#869ca7" />
|
|
<param name="wmode" value="window" />
|
|
<param name="allowScriptAccess" value="always" />
|
|
<!--[if !IE]>-->
|
|
<object type="application/x-shockwave-flash" data="BigBlueButton.swf?v=VERSION" width="100%" height="100%" align="middle">
|
|
<param name="quality" value="high" />
|
|
<param name="bgcolor" value="#869ca7" />
|
|
<param name="allowScriptAccess" value="always" />
|
|
<!--<![endif]-->
|
|
<a href="http://www.adobe.com/go/getflashplayer">
|
|
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
|
|
</a>
|
|
<!--[if !IE]>-->
|
|
</object>
|
|
<!--<![endif]-->
|
|
</object>
|
|
</div>
|
|
<div id="notifications" aria-live="polite" role="region" aria-label="Chat Notifications"></div>
|
|
</body>
|
|
|
|
<script type="text/javascript">
|
|
// Work around pixel alignment bug with Chrome 21 on Mac.
|
|
// See: http://code.google.com/p/bigbluebutton/issues/detail?id=1294
|
|
var objs = $('object');
|
|
objs.each(function(i, o) {
|
|
var o = $(o);
|
|
var top = o.offset().top;
|
|
var left = o.offset().left;
|
|
var roundtop = Math.round(top);
|
|
var roundleft = Math.round(left);
|
|
o.css("position", "relative");
|
|
if (roundtop === top) {
|
|
} else {
|
|
o.css("top", roundtop - top);
|
|
}
|
|
if (roundleft === left) {
|
|
} else {
|
|
o.css("left", roundleft - left);
|
|
}
|
|
});
|
|
</script>
|
|
</html>
|