2011-03-28 05:45:08 +08:00
|
|
|
(function($){
|
|
|
|
$.fn.bigbluebutton = function(options){
|
|
|
|
|
2011-03-28 09:45:29 +08:00
|
|
|
$('body').append('<div id="speechArea" style="visibility:hidden"></div>');
|
|
|
|
|
|
|
|
function sendSpeechMessage(){
|
|
|
|
var speech = $('#speechArea');
|
|
|
|
if (speech.html() !== ""){
|
|
|
|
document.getElementById('BigBlueButton').sendChatMessage(speech.html());
|
|
|
|
speech.html("");
|
|
|
|
}
|
|
|
|
setTimeout(sendSpeechMessage, 300);
|
|
|
|
}
|
|
|
|
sendSpeechMessage();
|
|
|
|
|
2011-03-28 05:45:08 +08:00
|
|
|
}
|
|
|
|
})(jQuery);
|
|
|
|
|
|
|
|
$(function () { $.fn.bigbluebutton(); });
|
2012-11-24 07:04:17 +08:00
|
|
|
|
|
|
|
$(function () {
|
|
|
|
setTimeout(function(){
|
|
|
|
$('#BigBlueButton').focus();
|
2012-11-29 00:04:26 +08:00
|
|
|
},1000);
|
|
|
|
});
|
|
|
|
|
|
|
|
function startFlashFocus() {
|
|
|
|
f = $('#BigBlueButton')[0]
|
|
|
|
f.tabIndex = 0;
|
|
|
|
f.focus();
|
|
|
|
}
|
|
|
|
|
|
|
|
function stopFlashFocus() {
|
|
|
|
$('#enterFlash')[0].focus();
|
|
|
|
}
|