35 lines
701 B
JavaScript
Executable File
35 lines
701 B
JavaScript
Executable File
(function($){
|
|
$.fn.bigbluebutton = function(options){
|
|
|
|
$('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();
|
|
|
|
}
|
|
})(jQuery);
|
|
|
|
$(function () { $.fn.bigbluebutton(); });
|
|
|
|
$(function () {
|
|
setTimeout(function(){
|
|
$('#BigBlueButton').focus();
|
|
},1000);
|
|
});
|
|
|
|
function startFlashFocus() {
|
|
f = $('#BigBlueButton')[0]
|
|
f.tabIndex = 0;
|
|
f.focus();
|
|
}
|
|
|
|
function stopFlashFocus() {
|
|
$('#enterFlash')[0].focus();
|
|
} |