Sha256: b4acdb86eede221fab4c45872baa941b672ade3f1802458bc145cdfe196e45c3

Contents?: true

Size: 753 Bytes

Versions: 6

Compression:

Stored size: 753 Bytes

Contents

<script type="text/javascript">

function ajax_request() {
  $.ajax({
    url: "<%= running_bigbluebutton_server_room_url(@server, @room, :format => 'json') %>",
    dataType: 'json',
    error: function(xhr_data) {
      //
    },
    success: function(xhr_data) {
      if (xhr_data.running == 'true') {
        window.location.reload();
      }
      setTimeout(function() { ajax_request(); }, 3000);
    },
    contentType: 'application/json'
  });
}

$(document).ready(function(){
  ajax_request();
});

</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

6 entries across 6 versions & 1 rubygems

Version Path
bigbluebutton_rails-1.0.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-0.1.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-0.0.6 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-0.0.5 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-0.0.4 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-0.0.3 app/views/bigbluebutton/rooms/join.html.erb