2012-08-01 06:49:09 +08:00
|
|
|
<!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">
|
2012-08-06 06:14:01 +08:00
|
|
|
<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>
|
2012-08-23 05:28:03 +08:00
|
|
|
<script type="text/javascript">
|
|
|
|
function thisMovie(movieName) {
|
|
|
|
if (navigator.appName.indexOf("Microsoft") != -1) {
|
|
|
|
return window[movieName];
|
|
|
|
} else {
|
|
|
|
return document[movieName];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function sendToActionScript() {
|
2012-08-24 22:45:54 +08:00
|
|
|
console.log("Calling the swf file");
|
2012-08-23 05:28:03 +08:00
|
|
|
// https://code.google.com/p/swfobject/wiki/api
|
|
|
|
var obj = swfobject.getObjectById("BigBlueButton");
|
|
|
|
if (obj) {
|
|
|
|
obj.joinVoice(); // e.g. an external interface call
|
|
|
|
}
|
|
|
|
}
|
2012-08-24 23:06:18 +08:00
|
|
|
|
|
|
|
function newUserJoined() {
|
|
|
|
console.log("User has joined voice conference.");
|
|
|
|
}
|
2012-08-23 05:28:03 +08:00
|
|
|
</script>
|
2012-08-06 06:14:01 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
2012-08-23 05:28:03 +08:00
|
|
|
<div id="controls">
|
|
|
|
<button type="button" onclick="sendToActionScript()">Click Me!</button>
|
|
|
|
</div>
|
2012-08-06 06:14:01 +08:00
|
|
|
<div id="content">
|
2012-08-23 05:28:03 +08:00
|
|
|
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="80%" height="80%" id="BigBlueButton" name="BigBlueButton" align="middle">
|
2012-08-06 06:14:01 +08:00
|
|
|
<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" />
|
2012-08-23 05:28:03 +08:00
|
|
|
<param name="allowScriptAccess" value="sameDomain" />
|
2012-08-06 06:14:01 +08:00
|
|
|
<!--[if !IE]>-->
|
2012-08-23 05:28:03 +08:00
|
|
|
<object type="application/x-shockwave-flash" data="BigBlueButton.swf?v=VERSION" width="80%" height="80%" align="middle">
|
2012-08-06 06:14:01 +08:00
|
|
|
<param name="quality" value="high" />
|
|
|
|
<param name="bgcolor" value="#869ca7" />
|
|
|
|
<!--<![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>
|
2012-08-24 23:06:18 +08:00
|
|
|
<div id="update-display"/>
|
2012-08-06 06:14:01 +08:00
|
|
|
<div id="notifications" aria-live="polite" role="region" aria-label="Chat Notifications"></div>
|
|
|
|
</body>
|
2012-08-01 06:49:09 +08:00
|
|
|
</html>
|