Sha256: 596feea35c1ec44cbdd0aa24ae1f08dce906964a4264a38523c39fe3ffe347a7

Contents?: true

Size: 707 Bytes

Versions: 2

Compression:

Stored size: 707 Bytes

Contents

<script type="text/javascript">

function heartbeat_callback() {
  // TODO Should parse the json to get the response
  if ($("#room_heartbeat_div").text().search("true") > 0) {
    window.location.reload();
  }
}

$(document).ready(function(){
  $.jheartbeat.set({
    url: "<%= running_bigbluebutton_server_room_url(@server, @room, :format => 'json') %>",
    delay: 3000,
    div_id: "room_heartbeat_div"
  }, function () {
    heartbeat_callback();
  });
});

</script>

<h1>Meeting <%= @room.name %></h1>

<%= image_tag "loading.gif" %>
<p>The meeting has not started yet, you must wait for the moderator to join.</p>
<p>Your browser will automatically refresh and join the meeting when it starts.</p>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bigbluebutton_rails-0.0.2 app/views/bigbluebutton/rooms/join_wait.html.erb
bigbluebutton_rails-0.0.1 app/views/bigbluebutton/rooms/join_wait.html.erb