Sha256: bfa38bbe99029d9f61f6c9481846daeb3a8277019556426ec7430889b822364d

Contents?: true

Size: 705 Bytes

Versions: 10

Compression:

Stored size: 705 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>

<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

10 entries across 10 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-2.3.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-2.2.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-2.1.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-2.0.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-1.3.0.mweb1 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-1.4.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-1.4.0.beta1 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-1.3.0 app/views/bigbluebutton/rooms/join.html.erb
bigbluebutton_rails-1.3.0.beta1 app/views/bigbluebutton/rooms/join.html.erb