Sha256: 29968d77c7952715d4a7e86f3e5bcb6175800b7a317bcba2d1f1ce1e03304007

Contents?: true

Size: 737 Bytes

Versions: 3

Compression:

Stored size: 737 Bytes

Contents

<script type="text/javascript">

function ajax_request() {
  $.ajax({
    url: "<%= running_bigbluebutton_room_url(@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

3 entries across 3 versions & 1 rubygems

Version Path
bigbluebutton_rails-1.2.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-1.1.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-0.1.1 app/views/bigbluebutton/rooms/join.html.erb